aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-01-02 12:38:28 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-01-02 12:38:28 +0100
commit299141ecbd08bae17013226dbeae71e842b4fdd7 (patch)
tree28cf034e6ce4f950f785860df1d3e49bae1b8f82 /tests
parent1b3a78a4597c6c1d94fc51aa0520252aab21a2c8 (diff)
If a substitute closure is incomplete, build dependencies, then retry the substituter
Issue #77.
Diffstat (limited to 'tests')
-rw-r--r--tests/binary-cache.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/binary-cache.sh b/tests/binary-cache.sh
index 7a3dc04c9..2e38a9d93 100644
--- a/tests/binary-cache.sh
+++ b/tests/binary-cache.sh
@@ -44,4 +44,5 @@ clearStore
rm $(grep -l "StorePath:.*dependencies-input-2" $cacheDir/*.narinfo)
-nix-build --option binary-caches "file://$cacheDir" dependencies.nix -o $TEST_ROOT/result
+nix-build --option binary-caches "file://$cacheDir" dependencies.nix -o $TEST_ROOT/result 2>&1 | tee $TEST_ROOT/log
+grep -q "Downloading" $TEST_ROOT/log