diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-30T13·35+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-30T13·35+0000 |
commit | 2ac02440dc065d19e5bd00b9a0c538525e12909d (patch) | |
tree | b592d044e7104414c15b342e75de7c3ffcdca14e /testpkgs | |
parent | aaee69cfdef287406715fb3befd7debd3a5c6ce9 (diff) |
* Test cases for races.
Diffstat (limited to 'testpkgs')
-rwxr-xr-x | testpkgs/slow/slow-build.sh | 14 | ||||
-rw-r--r-- | testpkgs/slow/slow.fix | 5 |
2 files changed, 19 insertions, 0 deletions
diff --git a/testpkgs/slow/slow-build.sh b/testpkgs/slow/slow-build.sh new file mode 100755 index 000000000000..a1bda1024e1c --- /dev/null +++ b/testpkgs/slow/slow-build.sh @@ -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" diff --git a/testpkgs/slow/slow.fix b/testpkgs/slow/slow.fix new file mode 100644 index 000000000000..5d019afbdd9c --- /dev/null +++ b/testpkgs/slow/slow.fix @@ -0,0 +1,5 @@ +Package( + [ ("name", "slow") + , ("build", Relative("slow/slow-build.sh")) + ] +) |