forked from lix-project/lix
* Test cases for races.
This commit is contained in:
parent
aaee69cfde
commit
2ac02440dc
14
testpkgs/slow/slow-build.sh
Executable file
14
testpkgs/slow/slow-build.sh
Executable 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
5
testpkgs/slow/slow.fix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Package(
|
||||||
|
[ ("name", "slow")
|
||||||
|
, ("build", Relative("slow/slow-build.sh"))
|
||||||
|
]
|
||||||
|
)
|
Loading…
Reference in a new issue