about 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-17T11·22+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-17T11·22+0100
commit832377bbd6ccd43895ac346131cafe4901f7996b (patch)
tree427b36821bdb5c0bd6d2336df157c300e95b66f1 /tests/binary-cache.sh
parenta9d99ab55fdaa1c9dde87eaa8d289ecdb8cf9068 (diff)
Add a test for repairing paths
Diffstat (limited to 'tests/binary-cache.sh')
-rw-r--r--tests/binary-cache.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/binary-cache.sh b/tests/binary-cache.sh
index 9bd4fecb6dec..45e67bee715f 100644
--- a/tests/binary-cache.sh
+++ b/tests/binary-cache.sh
@@ -2,11 +2,9 @@ source common.sh
 
 clearStore
 clearManifests
+clearCache
 
 # Create the binary cache.
-cacheDir=$TEST_ROOT/binary-cache
-rm -rf "$cacheDir"
-
 outPath=$(nix-build dependencies.nix --no-out-link)
 
 nix-push --dest $cacheDir $outPath