summaryrefslogtreecommitdiff
path: root/test/bbackupd
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2006-03-04 01:33:46 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2006-03-04 01:33:46 +0000
commitdefac6623afe8b7d765a9477371fbc47da855c19 (patch)
treeb6d5c9e77d896a67ee1d56bc9ffa9d703ae45c81 /test/bbackupd
parent6f868d48446f4196d2ad69e7ca9be42047ea2d5e (diff)
This is part 1 of a patch from James O'Gorman.
configure now detects perl executable location and updates all scripts to use the correct path; also adds PERL_EXECUTABLE define to BoxConfig.h. makebuildenv.pl adds PERL define to all makefiles.
Diffstat (limited to 'test/bbackupd')
-rw-r--r--test/bbackupd/testfiles/bbackupd.conf2
-rwxr-xr-xtest/bbackupd/testfiles/extcheck1.pl2
-rwxr-xr-xtest/bbackupd/testfiles/extcheck2.pl2
-rwxr-xr-xtest/bbackupd/testfiles/notifyscript.pl2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/bbackupd/testfiles/bbackupd.conf b/test/bbackupd/testfiles/bbackupd.conf
index c25b4eab..6d381d5b 100644
--- a/test/bbackupd/testfiles/bbackupd.conf
+++ b/test/bbackupd/testfiles/bbackupd.conf
@@ -23,7 +23,7 @@ ExtendedLogging = yes
CommandSocket = testfiles/bbackupd.sock
-NotifyScript = perl testfiles/notifyscript.pl
+NotifyScript = @PERL@ testfiles/notifyscript.pl
Server
{
diff --git a/test/bbackupd/testfiles/extcheck1.pl b/test/bbackupd/testfiles/extcheck1.pl
index 7481593d..edbacd0a 100755
--- a/test/bbackupd/testfiles/extcheck1.pl
+++ b/test/bbackupd/testfiles/extcheck1.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!@PERL@
use strict;
unless(open IN,"../../bin/bbackupquery/bbackupquery -q -c testfiles/bbackupd.conf -l testfiles/query4.log \"compare -ac\" quit|")
diff --git a/test/bbackupd/testfiles/extcheck2.pl b/test/bbackupd/testfiles/extcheck2.pl
index a0c7d3cd..68baa045 100755
--- a/test/bbackupd/testfiles/extcheck2.pl
+++ b/test/bbackupd/testfiles/extcheck2.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!@PERL@
use strict;
unless(open IN,"../../bin/bbackupquery/bbackupquery -q -c testfiles/bbackupd.conf -l testfiles/query4.log \"compare -ac\" quit|")
diff --git a/test/bbackupd/testfiles/notifyscript.pl b/test/bbackupd/testfiles/notifyscript.pl
index a31d072e..df0e5a2d 100755
--- a/test/bbackupd/testfiles/notifyscript.pl
+++ b/test/bbackupd/testfiles/notifyscript.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!@PERL@
my $f = 'testfiles/notifyran.'.$ARGV[0].'.';