mirror of
https://github.com/NixOS/nix.git
synced 2025-02-16 17:02:28 +00:00
![Eelco Dolstra](/assets/img/avatar_default.png)
* A test to verify that locking of output paths (caused by concurrent invocations of Nix) works correctly.
9 lines
166 B
Bash
9 lines
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 |