mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* Add a test to check whether concurrent garbage collection (i.e.,
running the collector while builds are in progress) works correctly. The test currently fails.
This commit is contained in:
parent
22cfdfa246
commit
a7668411a1
4 changed files with 56 additions and 1 deletions
9
tests/gc-concurrent.builder.sh
Normal file
9
tests/gc-concurrent.builder.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
export PATH=/bin:/usr/bin:$PATH
|
||||
|
||||
mkdir $out
|
||||
echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
|
||||
|
||||
sleep 5
|
||||
mkdir $out || true
|
||||
|
||||
ln -s $input2 $out/input-2
|
Loading…
Add table
Add a link
Reference in a new issue