]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Avoid warning when running inode_cache in isolation
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 11 Jun 2022 12:06:28 +0000 (14:06 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 20 Aug 2022 11:52:17 +0000 (13:52 +0200)
(cherry picked from commit d40452090c36ee207eb3b5043d921203353a25f8)

test/suites/inode_cache.bash

index 54dd287e835ffc6e204fd851fe2838c4e9278857..60563665b7219992dbfac6e91902385c85353cba 100644 (file)
@@ -4,6 +4,7 @@ SUITE_inode_cache_PROBE() {
         return
     fi
 
+    mkdir -p "${CCACHE_DIR}"
     if [ "$(stat -fLc %T "${CCACHE_DIR}")" = "nfs" ]; then
         echo "ccache directory is on NFS"
     fi