about summary refs log tree commit diff
path: root/tests/logging.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T13·33+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T13·33+0000
commit8cd646b6af87dad97d326e5f0d7b1e9ecff17c97 (patch)
tree1b448e69420a87d53264b866f617504ac7979ed8 /tests/logging.sh
parente48bd8c8b50e48db297e49fb325a94e854d6bdad (diff)
* Clear the substitutes prior to running the test.
Diffstat (limited to 'tests/logging.sh')
-rw-r--r--tests/logging.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/logging.sh b/tests/logging.sh
index 096c743fd178..50808d264b91 100644
--- a/tests/logging.sh
+++ b/tests/logging.sh
@@ -1,7 +1,7 @@
 source common.sh
 
-rm -f $NIX_STATE_DIR/var/nix/
 $nixstore --gc
+$nixstore --clear-substitutes
 
 # Produce an escaped log file.
 $nixstore --log-type escapes -r -vv $($nixinstantiate dependencies.nix) 2> $TEST_ROOT/log.esc