diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01 12:51:18 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01 12:51:18 +0000 |
commit | 84c4631221bc65643830173b4affe58b0dc58202 (patch) | |
tree | 19093aff12bbb33e1b377a2fdec688965e42029e /tests/gc-concurrent.sh | |
parent | a4c63c6e8e161d55778b797e566d9eca7c47f34f (diff) | |
download | guix-84c4631221bc65643830173b4affe58b0dc58202.tar.gz |
* Simplification.
Diffstat (limited to 'tests/gc-concurrent.sh')
-rw-r--r-- | tests/gc-concurrent.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/gc-concurrent.sh b/tests/gc-concurrent.sh index 7606a64c87..5004a6e4e2 100644 --- a/tests/gc-concurrent.sh +++ b/tests/gc-concurrent.sh @@ -1,19 +1,19 @@ source common.sh -drvPath1=$($TOP/src/nix-instantiate/nix-instantiate gc-concurrent.nix) -outPath1=$($TOP/src/nix-store/nix-store -q $drvPath1) +drvPath1=$($nixinstantiate gc-concurrent.nix) +outPath1=$($nixstore -q $drvPath1) -drvPath2=$($TOP/src/nix-instantiate/nix-instantiate gc-concurrent2.nix) -outPath2=$($TOP/src/nix-store/nix-store -q $drvPath2) +drvPath2=$($nixinstantiate gc-concurrent2.nix) +outPath2=$($nixstore -q $drvPath2) ln -s $drvPath2 "$NIX_STATE_DIR"/gcroots/foo2 # Start build #1 in the background. It starts immediately. -$TOP/src/nix-store/nix-store -rvv "$drvPath1" & +$nixstore -rvv "$drvPath1" & pid1=$! # Start build #2 in the background after 3 seconds. -(sleep 3 && $TOP/src/nix-store/nix-store -rvv "$drvPath2") & +(sleep 3 && $nixstore -rvv "$drvPath2") & pid2=$! # Run the garbage collector while the build is running. Note: the GC |