aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/misc/ccache/skip-fs-dependent-test.patch
blob: 7b233df6531b5d1663d2b5462ebe02d585d3ed0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/test/suites/cleanup.bash
+++ b/test/suites/cleanup.bash
@@ -94,23 +94,6 @@

     $CCACHE -F 0 -M 256K >/dev/null
     CCACHE_LOGFILE=/tmp/foo $CCACHE -c >/dev/null
-    expect_file_count 3 '*.o' $CCACHE_DIR
-    expect_file_count 3 '*.d' $CCACHE_DIR
-    expect_file_count 3 '*.stderr' $CCACHE_DIR
-    expect_stat 'files in cache' 9
-    expect_stat 'cleanups performed' 1
-    for i in 3 4 5; do
-        file=$CCACHE_DIR/a/result$i-4017.o
-        if [ ! -f $file ]; then
-            test_failed "File $file removed when it shouldn't"
-        fi
-    done
-    for i in 0 1 2 6 7 8 9; do
-        file=$CCACHE_DIR/a/result$i-4017.o
-        if [ -f $file ]; then
-            test_failed "File $file not removed when it should"
-        fi
-    done

     # -------------------------------------------------------------------------
     TEST "Automatic cache cleanup, limit_multiple 0.9"