about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xtestpkgs/slow/slow-build.sh14
-rw-r--r--testpkgs/slow/slow.fix5
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"))
+  ]
+)