summaryrefslogtreecommitdiffstats
path: root/test/CacheDir/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CacheDir/environment.py')
-rw-r--r--test/CacheDir/environment.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CacheDir/environment.py b/test/CacheDir/environment.py
index 4fb9b51..1378bb2 100644
--- a/test/CacheDir/environment.py
+++ b/test/CacheDir/environment.py
@@ -85,7 +85,8 @@ test.must_not_exist(src_aaa_out)
test.must_not_exist(src_bbb_out)
test.must_not_exist(src_ccc_out)
test.must_not_exist(src_all)
-test.fail_test(len(os.listdir(cache)))
+# Even if you do -n, the cache will be configured.
+test.fail_test(os.listdir(cache) != ['config'])
# Verify that a normal build works correctly, and clean up.
# This should populate the cache with our derived files.