1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

* 1000th revision!

* A test to verify that locking of output paths (caused by concurrent
  invocations of Nix) works correctly.
This commit is contained in:
Eelco Dolstra 2004-05-04 13:56:30 +00:00
parent a7bbe73971
commit f044ccf702
4 changed files with 50 additions and 2 deletions

9
tests/locking.builder.sh Normal file
View file

@ -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