mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
f044ccf702
* A test to verify that locking of output paths (caused by concurrent invocations of Nix) works correctly.
9 lines
No EOL
166 B
Bash
9 lines
No EOL
166 B
Bash
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 |