lix/tests/locking.builder.sh

18 lines
243 B
Bash
Raw Normal View History

export PATH=/bin:/usr/bin:$PATH
2005-09-13 13:17:14 +00:00
env
sleep 3
touch $out
2005-09-13 14:07:22 +00: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