about summary refs log tree commit diff
path: root/tests/substitutes.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-11-17T14·39+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-11-17T14·39+0000
commitbf658f016ff16af79535358c8e609a933b86e6d7 (patch)
treeec0628a62bb414c0bc500ed8766518ba4c5bb1ba /tests/substitutes.sh
parent1e24cbaba3a7b553569c72afddeb825001ae1dd7 (diff)
* Test that download sizes are shown correctly.
Diffstat (limited to 'tests/substitutes.sh')
-rw-r--r--tests/substitutes.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/substitutes.sh b/tests/substitutes.sh
index 042827314bd9..b48576c8c302 100644
--- a/tests/substitutes.sh
+++ b/tests/substitutes.sh
@@ -14,6 +14,8 @@ echo $outPath > $TEST_ROOT/sub-paths
 
 export NIX_SUBSTITUTERS=$(pwd)/substituter.sh
 
+$nixstore -r "$drvPath" --dry-run 2>&1 | grep -q "1.00 MiB.*2.00 MiB"
+
 $nixstore -rvv "$drvPath"
 
 text=$(cat "$outPath"/hello)