diff --git a/tests/functional/repl.sh b/tests/functional/repl.sh index 54acc4986..116f5e480 100644 --- a/tests/functional/repl.sh +++ b/tests/functional/repl.sh @@ -147,7 +147,9 @@ foo + baz # - Check that the result has changed replResult=$( ( echo "changingThing" -sleep 1 # Leave the repl the time to eval 'foo' +mkfifo fifo +echo "builtins.readFile ./fifo" +echo > fifo sed -i 's/beforeChange/afterChange/' flake/flake.nix echo ":reload" echo "changingThing"