about summary refs log tree commit diff
path: root/tests/substituter.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/substituter.sh
parent1e24cbaba3a7b553569c72afddeb825001ae1dd7 (diff)
* Test that download sizes are shown correctly.
Diffstat (limited to 'tests/substituter.sh')
-rwxr-xr-xtests/substituter.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/substituter.sh b/tests/substituter.sh
index 8985982c2dd8..65c4fa1856d0 100755
--- a/tests/substituter.sh
+++ b/tests/substituter.sh
@@ -16,8 +16,8 @@ if test $1 = "--query"; then
             echo 1
             echo "" # deriver
             echo 0 # nr of refs
-            echo 0 # download size
-            echo 0 # nar size
+            echo $((1 * 1024 * 1024)) # download size
+            echo $((2 * 1024 * 1024)) # nar size
         else
             echo "bad command $cmd"
             exit 1