Fix gc-auto test

This commit is contained in:
Eelco Dolstra 2019-08-08 14:32:02 +02:00
parent 1d750e0587
commit ab16b3d076
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -29,7 +29,7 @@ with import ./config.nix; mkDerivation {
EOF EOF
) )
nix build -o $TEST_ROOT/result-A -L "($expr)" \ nix build --impure -o $TEST_ROOT/result-A -L "($expr)" \
--min-free 1000 --max-free 2000 --min-free-check-interval 1 & --min-free 1000 --max-free 2000 --min-free-check-interval 1 &
pid=$! pid=$!
@ -50,7 +50,7 @@ with import ./config.nix; mkDerivation {
EOF EOF
) )
nix build -o $TEST_ROOT/result-B -L "($expr2)" \ nix build --impure -o $TEST_ROOT/result-B -L "($expr2)" \
--min-free 1000 --max-free 2000 --min-free-check-interval 1 --min-free 1000 --max-free 2000 --min-free-check-interval 1
wait "$pid" wait "$pid"