summaryrefslogtreecommitdiff
path: root/test/bbackupd
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-04-28 23:14:47 +0000
committerChris Wilson <chris+github@qwirx.com>2007-04-28 23:14:47 +0000
commit95dd1eb70287710a8e230d47f7c0075c1da17a01 (patch)
treed4cd8fa3cc4ab854f1e6bc2db965398b2c7da537 /test/bbackupd
parent11faa8183f5918065f9355a2bbbb75d848a30edf (diff)
Call perl executable to execute external scripts, since shebang doesn't
work on win32. (refs #3)
Diffstat (limited to 'test/bbackupd')
-rw-r--r--test/bbackupd/testbbackupd.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp
index cf638a19..64212f02 100644
--- a/test/bbackupd/testbbackupd.cpp
+++ b/test/bbackupd/testbbackupd.cpp
@@ -2134,7 +2134,8 @@ int test_bbackupd()
fflush(stdout);
// Check there's a difference
- compareReturnValue = ::system("testfiles/extcheck1.pl");
+ compareReturnValue = ::system("perl testfiles/"
+ "extcheck1.pl");
TEST_RETURN(compareReturnValue, 1);
TestRemoteProcessMemLeaks("bbackupquery.memleaks");
@@ -2158,7 +2159,8 @@ int test_bbackupd()
printf("\n");
fflush(stdout);
- compareReturnValue = ::system("testfiles/extcheck2.pl");
+ compareReturnValue = ::system("perl testfiles/"
+ "extcheck2.pl");
TEST_RETURN(compareReturnValue, 1);
TestRemoteProcessMemLeaks("bbackupquery.memleaks");