aboutsummaryrefslogtreecommitdiff
path: root/tests/gc-concurrent2.builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gc-concurrent2.builder.sh')
-rw-r--r--tests/gc-concurrent2.builder.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/gc-concurrent2.builder.sh b/tests/gc-concurrent2.builder.sh
new file mode 100644
index 000000000..d94e46971
--- /dev/null
+++ b/tests/gc-concurrent2.builder.sh
@@ -0,0 +1,9 @@
+export PATH=/bin:/usr/bin:$PATH
+
+mkdir $out
+echo $(cat $input1/foo)$(cat $input2/bar)xyzzy > $out/foobar
+
+# Check that the GC hasn't deleted the lock on our output.
+test -e "$out.lock"
+
+sleep 3 \ No newline at end of file