From 33c5d23b814e16687808d5f2d79798fef7dc2a8a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 31 Jan 2005 12:19:53 +0000 Subject: * Don't delete active lock files. --- tests/gc-concurrent.builder.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/gc-concurrent.builder.sh') 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 -- cgit 1.4.1