about summary refs log tree commit diff
path: root/testpkgs/slow2/slow-build.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-30T14·40+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-30T14·40+0000
commit26ff1cdf89cae33918dfdef2027d135e099ed3b2 (patch)
treec9529ede26b47c71f809983c2a06ea25d477c390 /testpkgs/slow2/slow-build.sh
parent64c617e9840b820b1d2d3ce2dd86a95506013b56 (diff)
* A better test case for Nix race conditions.
Diffstat (limited to 'testpkgs/slow2/slow-build.sh')
-rwxr-xr-xtestpkgs/slow2/slow-build.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/testpkgs/slow2/slow-build.sh b/testpkgs/slow2/slow-build.sh
new file mode 100755
index 000000000000..99e18c0fb779
--- /dev/null
+++ b/testpkgs/slow2/slow-build.sh
@@ -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"