fix/tests/locking.builder.sh

18 lines
243 B
Bash
Raw Normal View History

export PATH=/bin:/usr/bin:$PATH
2005-09-13 15:17:14 +02:00
env
sleep 3
touch $out
2005-09-13 16:07:22 +02:00
echo CAT1
cat $inputs
echo CAT2
echo -n $(cat $inputs)$text
echo CAT3
# Use `>>'; without proper locking this will cause text duplication.
echo -n $(cat $inputs)$text >> $out
sleep 2