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.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/binary-cache.sh b/tests/binary-cache.sh
index 45e67bee715f..6f0c36f6300f 100644
--- a/tests/binary-cache.sh
+++ b/tests/binary-cache.sh
@@ -21,6 +21,8 @@ nix-env --option binary-caches "file://$cacheDir" -f dependencies.nix -qas \* |
 
 nix-store --option binary-caches "file://$cacheDir" -r $outPath
 
+[ -x $outPath/program ]
+
 
 # But with the right configuration, "nix-env -qas" should also work.
 clearStore