diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-04-28 23:14:47 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-04-28 23:14:47 +0000 |
commit | 95dd1eb70287710a8e230d47f7c0075c1da17a01 (patch) | |
tree | d4cd8fa3cc4ab854f1e6bc2db965398b2c7da537 /test | |
parent | 11faa8183f5918065f9355a2bbbb75d848a30edf (diff) |
Call perl executable to execute external scripts, since shebang doesn't
work on win32. (refs #3)
Diffstat (limited to 'test')
-rw-r--r-- | test/bbackupd/testbbackupd.cpp | 6 |
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"); |