summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xCCache/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/CCache/test.sh b/CCache/test.sh
index 9581c85e3..f64c3e3de 100755
--- a/CCache/test.sh
+++ b/CCache/test.sh
@@ -142,7 +142,7 @@ basetests() {
testname="non-regular"
mkdir testd
$CCACHE_COMPILE -o testd -c test1.c > /dev/null 2>&1
- rmdir testd
+ rm -rf testd
checkstat 'output to a non-regular file' 1
testname="no-input"
@@ -315,7 +315,7 @@ swigtests() {
testname="non-regular"
mkdir testd
$CCACHE_COMPILE -o testd -java testswig1.i > /dev/null 2>&1
- rmdir testd
+ rm -rf testd
checkstat 'output to a non-regular file' 1
testname="no-input"