testing: unrace functional-repl

using sleep(1) as a synchronization mechanism does not work. use fifos instead.

fixes #690 and ci constantly falling over in the same exact fucking source line

Change-Id: I51725f8e439b6753f3212d2897dbb0620ad77a37
This commit is contained in:
eldritch horrors
2025-09-12 23:22:11 +02:00
parent 88517c324f
commit 95d43d1e39
+3 -1
View File
@@ -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"