summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-12-20 17:58:41 +0000
committerChris Wilson <chris+github@qwirx.com>2015-12-20 18:12:44 +0000
commitd18f1a336d8cf1760aaafb95cec6bbf43a7d637e (patch)
tree5bc1d9c1eed2b8b5c16f7cd0acf3f0d3c65e3e5c /lib
parentca50ccf991031c8d96b725a7cf210009f2cf4f8b (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 'lib')
-rw-r--r--lib/common/Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/Test.cpp b/lib/common/Test.cpp
index df2c3bc6..f7eeb310 100644
--- a/lib/common/Test.cpp
+++ b/lib/common/Test.cpp
@@ -117,7 +117,7 @@ bool setUp(const char* function_name)
}
else if(filetype == ObjectExists_Dir)
{
- std::string cmd = "rmdir /s /q testfiles\\" + filename;
+ std::string cmd = "rd /s /q testfiles\\" + filename;
int status = system(cmd.c_str());
if(status != 0)
{