diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-12-20 17:58:41 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-12-20 18:12:44 +0000 |
commit | d18f1a336d8cf1760aaafb95cec6bbf43a7d637e (patch) | |
tree | 5bc1d9c1eed2b8b5c16f7cd0acf3f0d3c65e3e5c /test/backupstorefix | |
parent | ca50ccf991031c8d96b725a7cf210009f2cf4f8b (diff) |
Use rd instead of rmdir command, to try to work properly in appveyor.
I think something is on the PATH in Appveyor that makes rmdir /s/q fail,
especially when run through Perl.
Diffstat (limited to 'test/backupstorefix')
-rw-r--r-- | test/backupstorefix/testbackupstorefix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/backupstorefix/testbackupstorefix.cpp b/test/backupstorefix/testbackupstorefix.cpp index e92be1bd..b00862e1 100644 --- a/test/backupstorefix/testbackupstorefix.cpp +++ b/test/backupstorefix/testbackupstorefix.cpp @@ -720,7 +720,7 @@ int test(int argc, const char *argv[]) # define RUN(x) TEST_THAT(system(x) == 0); # ifdef WIN32 - RUN("rmdir /s/q testfiles\\0_2\\backup\\01234567\\02\\01"); + RUN("rd /s/q testfiles\\0_2\\backup\\01234567\\02\\01"); # else // !WIN32 RUN("rm -r testfiles/0_2/backup/01234567/02/01"); # endif // WIN32 |