about summary refs log tree commit diff
path: root/tests/nix-pull.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T13·49+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T13·49+0000
commit5cb6c42088347bf7ba513cdd68b20c91035c7db9 (patch)
treea4ed49dba181a486bae53991cc6243702945a103 /tests/nix-pull.sh
parent8cd646b6af87dad97d326e5f0d7b1e9ecff17c97 (diff)
* Test nix-build. This also tests indirect roots.
Diffstat (limited to 'tests/nix-pull.sh')
-rw-r--r--tests/nix-pull.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/nix-pull.sh b/tests/nix-pull.sh
index 146227b71aac..03dcdb21d506 100644
--- a/tests/nix-pull.sh
+++ b/tests/nix-pull.sh
@@ -36,4 +36,6 @@ cat $outPath/input-2/bar
 
 # Check that the derivers are set properly.
 test $($nixstore -q --deriver "$outPath") = "$drvPath"
-$nixstore -q --deriver $(/bin/ls -l $outPath/input-2 | sed 's/.*->\ //') | grep -q -- "-input-2.drv" 
+$nixstore -q --deriver $(ls -l $outPath/input-2 | sed 's/.*->\ //') | grep -q -- "-input-2.drv" 
+
+$nixstore --clear-substitutes