about summary refs log tree commit diff
path: root/tests/binary-cache.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/binary-cache.sh')
-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 7a3dc04c93b7..2e38a9d938b3 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