* A better test case for Nix race conditions.

This commit is contained in:
Eelco Dolstra 2003-07-30 14:40:46 +00:00
parent 64c617e984
commit 26ff1cdf89
2 changed files with 19 additions and 0 deletions

14
testpkgs/slow2/slow-build.sh Executable file
View file

@ -0,0 +1,14 @@
#! /bin/sh
echo "builder started..."
for i in $(seq 1 30); do
echo $i
sleep 1
done
mkdir $out
echo "done" > $out/bla
echo "builder finished"

5
testpkgs/slow2/slow.fix Normal file
View file

@ -0,0 +1,5 @@
Package(
[ ("name", "slow")
, ("build", Relative("slow2/slow-build.sh"))
]
)