about summary refs log tree commit diff
path: root/third_party/nix/tests/gc-concurrent2.builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/tests/gc-concurrent2.builder.sh')
-rw-r--r--third_party/nix/tests/gc-concurrent2.builder.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/nix/tests/gc-concurrent2.builder.sh b/third_party/nix/tests/gc-concurrent2.builder.sh
new file mode 100644
index 000000000000..4bfb33103e73
--- /dev/null
+++ b/third_party/nix/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