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

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