about summary refs log tree commit diff
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.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/gc-concurrent2.builder.sh b/tests/gc-concurrent2.builder.sh
new file mode 100644
index 000000000000..4bfb33103e73
--- /dev/null
+++ b/tests/gc-concurrent2.builder.sh
@@ -0,0 +1,7 @@
+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 6