summary refs log tree commit diff
path: root/tests/binary-cache.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-26 18:59:01 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-26 18:59:01 +0100
commit3d0a9ec8258fc2a6ec6a73e249aa38fbd03207d8 (patch)
tree18169aea9beb48723fea56bcaffd13a4c783622f /tests/binary-cache.sh
parent91f25f0510db32d627bf5ed7d4067b90e37f2f86 (diff)
downloadguix-3d0a9ec8258fc2a6ec6a73e249aa38fbd03207d8.tar.gz
Test executables in NARs
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 45e67bee71..6f0c36f630 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