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