]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Allow running the test suite with a “+dirty” version
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 5 Oct 2020 13:17:42 +0000 (15:17 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 5 Oct 2020 13:17:42 +0000 (15:17 +0200)
test/suites/base.bash

index d596d6a3976d9a923ecdd5d0d38c6ebee125cf0d..a33ca3d49419270c31fc83169c16d6d2705bc2f6 100644 (file)
@@ -21,7 +21,7 @@ base_tests() {
 
     # The exact output is not tested, but at least it's something human readable
     # and not random memory.
-    if [ $($CCACHE --version | grep -c '^ccache version [a-zA-Z0-9_./-]*$') -ne 1 ]; then
+    if [ $($CCACHE --version | grep -c '^ccache version [a-zA-Z0-9_./+-]*$') -ne 1 ]; then
         test_failed "Unexpected output of --version"
     fi