aboutsummaryrefslogtreecommitdiff
path: root/tests/dependencies.sh
diff options
context:
space:
mode:
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 a9b9cd083..fe4aa0c3c 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"