about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-02-22T15·20+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-02-22T15·20+0000
commit9d3bee50ad9e52cd46eefe06a4c6b55794e83a9d (patch)
tree15edd6fd72ad1ec45a04539847001e14c4128600
parent17f39049cf13450c86b62a5782f28e678849bc33 (diff)
* Aha!
-rw-r--r--tests/dependencies.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/dependencies.sh b/tests/dependencies.sh
index ea63436c07d0..985d087273d5 100644
--- a/tests/dependencies.sh
+++ b/tests/dependencies.sh
@@ -2,8 +2,7 @@ drvPath=$($TOP/src/nix-instantiate/nix-instantiate dependencies.nix)
 
 echo "derivation is $drvPath"
 
-$TOP/src/nix-store/nix-store -q --tree "$drvPath"
-$TOP/src/nix-store/nix-store -q --tree "$drvPath" | grep "|   +---.*builder1.sh"
+$TOP/src/nix-store/nix-store -q --tree "$drvPath" | grep '   +---.*builder1.sh'
 
 # Test Graphviz graph generation.
 $TOP/src/nix-store/nix-store -q --graph "$drvPath" > $TEST_ROOT/graph
@@ -21,7 +20,7 @@ if test -n "$dot"; then
     $dot < $TEST_ROOT/graph
 fi    
 
-$TOP/src/nix-store/nix-store -q --tree "$outPath" | grep "+---.*dependencies-input-2"
+$TOP/src/nix-store/nix-store -q --tree "$outPath" | grep '+---.*dependencies-input-2'
 
 echo "output path is $outPath"