* Test cases for races.

This commit is contained in:
Eelco Dolstra 2003-07-30 13:35:46 +00:00
parent aaee69cfde
commit 2ac02440dc
2 changed files with 19 additions and 0 deletions

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

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

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

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