about summary refs log tree commit diff
path: root/tests/gc-concurrent.builder.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-01-31T12·19+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-01-31T12·19+0000
commit33c5d23b814e16687808d5f2d79798fef7dc2a8a (patch)
treefe7f49222ff8f4e622cb6dfb5440ff22d888f186 /tests/gc-concurrent.builder.sh
parent1328aa33077fd1cf84869e366c82b8ea1d1abb5d (diff)
* Don't delete active lock files.
Diffstat (limited to 'tests/gc-concurrent.builder.sh')
-rw-r--r--tests/gc-concurrent.builder.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/gc-concurrent.builder.sh b/tests/gc-concurrent.builder.sh
index 561c2292e98f..2d327f902182 100644
--- a/tests/gc-concurrent.builder.sh
+++ b/tests/gc-concurrent.builder.sh
@@ -6,4 +6,7 @@ echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
 sleep 5
 mkdir $out || true
 
-ln -s $input2 $out/input-2
\ No newline at end of file
+# Check that the GC hasn't deleted the lock on our output.
+test -e "$out.lock"
+
+ln -s $input2 $out/input-2