diff options
Diffstat (limited to 'tests/locking.builder.sh')
-rw-r--r-- | tests/locking.builder.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/locking.builder.sh b/tests/locking.builder.sh new file mode 100644 index 000000000000..5c3dfdafbc59 --- /dev/null +++ b/tests/locking.builder.sh @@ -0,0 +1,9 @@ +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 \ No newline at end of file |