forked from lix-project/lix
* A better test case for Nix race conditions.
This commit is contained in:
parent
64c617e984
commit
26ff1cdf89
14
testpkgs/slow2/slow-build.sh
Executable file
14
testpkgs/slow2/slow-build.sh
Executable 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
5
testpkgs/slow2/slow.fix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Package(
|
||||||
|
[ ("name", "slow")
|
||||||
|
, ("build", Relative("slow2/slow-build.sh"))
|
||||||
|
]
|
||||||
|
)
|
Loading…
Reference in a new issue