nix-super/tests/locking.builder.sh

9 lines
166 B
Bash
Raw Normal View History

export PATH=/bin:/usr/bin:$PATH
sleep 3
touch $out
# Use `>>'; without proper locking this will cause text duplication.
echo -n $(cat $inputs)$text >> $out
sleep 2