about summary refs log tree commit diff
path: root/tests/dependencies.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-01-25T10·55+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-01-25T10·55+0000
commit80faa2f98af8616ab89ac2af63431b887a84fb32 (patch)
treeeb24971c4f7dfe23b1927c055a68f7d4cec47ba2 /tests/dependencies.sh
parent6a0a2d559336b3a7a165fb0f87f5e70caa9d8d72 (diff)
* In nix-store: change `--build' back to `--realise'. Also brought
  back the query flag `--force-realise'.
* Fixed some of the tests.

Diffstat (limited to 'tests/dependencies.sh')
-rw-r--r--tests/dependencies.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dependencies.sh b/tests/dependencies.sh
index a9b9cd083f13..fe4aa0c3c960 100644
--- a/tests/dependencies.sh
+++ b/tests/dependencies.sh
@@ -2,16 +2,16 @@ storeExpr=$($TOP/src/nix-instantiate/nix-instantiate dependencies.nix)
 
 echo "store expr is $storeExpr"
 
-outPath=$($TOP/src/nix-store/nix-store -bvv "$storeExpr")
+outPath=$($TOP/src/nix-store/nix-store -rvv "$storeExpr")
 
 echo "output path is $outPath"
 
 text=$(cat "$outPath"/foobar)
 if test "$text" != "FOOBAR"; then exit 1; fi
 
-deps=$($TOP/src/nix-store/nix-store -qnR "$storeExpr")
+deps=$($TOP/src/nix-store/nix-store -quR "$storeExpr")
 
-echo "output closures are $deps"
+echo "output closure contains $deps"
 
 # The output path should be in the closure.
 echo "$deps" | grep -q "$outPath"