1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

Merge pull request #13348 from NixOS/repl-test-robust-2

Make the repl test more robust
This commit is contained in:
John Ericson 2025-06-11 15:57:38 -04:00 committed by GitHub
commit 35cb138a93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,7 +189,8 @@ testReplResponseNoRegex $'
# - Re-eval it
# - Check that the result has changed
mkfifo repl_fifo
nix repl ./flake --experimental-features 'flakes' < repl_fifo > repl_output 2>&1 &
touch repl_output
nix repl ./flake --experimental-features 'flakes' < repl_fifo >> repl_output 2>&1 &
repl_pid=$!
exec 3>repl_fifo # Open fifo for writing
echo "changingThing" >&3