[Box Backup-commit] COMMIT r1615 - box/chris/merge/test/bbackupd
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Sun, 29 Apr 2007 00:14:47 +0100
Author: chris
Date: 2007-04-29 00:14:47 +0100 (Sun, 29 Apr 2007)
New Revision: 1615
Modified:
box/chris/merge/test/bbackupd/testbbackupd.cpp
Log:
Call perl executable to execute external scripts, since shebang doesn't
work on win32. (refs #3)
Modified: box/chris/merge/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/chris/merge/test/bbackupd/testbbackupd.cpp 2007-04-28 23:13:01 UTC (rev 1614)
+++ box/chris/merge/test/bbackupd/testbbackupd.cpp 2007-04-28 23:14:47 UTC (rev 1615)
@@ -2134,7 +2134,8 @@
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 @@
printf("\n");
fflush(stdout);
- compareReturnValue = ::system("testfiles/extcheck2.pl");
+ compareReturnValue = ::system("perl testfiles/"
+ "extcheck2.pl");
TEST_RETURN(compareReturnValue, 1);
TestRemoteProcessMemLeaks("bbackupquery.memleaks");