about summary refs log blame commit diff
path: root/tests/gc-concurrent.builder.sh
blob: 6b2177ddff2e630a9436a45b0d4f0e3f65e7d3c2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                       


                                                          
mkdir $out
echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar

sleep 5
mkdir $out || true

# Check that the GC hasn't deleted the lock on our output.
test -e "$out.lock"

ln -s $input2 $out/input-2