summary refs log tree commit diff
path: root/tests/gc-concurrent.builder.sh
blob: 2d327f9021824cba78b6936f89adedd8f4a76818 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
export PATH=/bin:/usr/bin:$PATH

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