From 6f05cd831394335c32c6eebc4f4da7454302bbc9 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 17 Aug 2014 10:59:16 +0000 Subject: Fix tests broken by bbackupquery list recursive option change. --- test/backupstorefix/testbackupstorefix.cpp | 2 +- test/backupstorefix/testfiles/testbackupstorefix.pl.in | 4 ++-- test/bbackupd/testbbackupd.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/backupstorefix/testbackupstorefix.cpp b/test/backupstorefix/testbackupstorefix.cpp index 1dfdcd08..6ae78bc9 100644 --- a/test/backupstorefix/testbackupstorefix.cpp +++ b/test/backupstorefix/testbackupstorefix.cpp @@ -614,7 +614,7 @@ int test(int argc, const char *argv[]) // Generate a list of all the object IDs TEST_THAT_ABORTONFAIL(::system(BBACKUPQUERY " -Wwarning " - "-c testfiles/bbackupd.conf \"list -r\" quit " + "-c testfiles/bbackupd.conf \"list -R\" quit " "> testfiles/initial-listing.txt") == 0); // And load it in diff --git a/test/backupstorefix/testfiles/testbackupstorefix.pl.in b/test/backupstorefix/testfiles/testbackupstorefix.pl.in index 28dc439f..d724946e 100755 --- a/test/backupstorefix/testfiles/testbackupstorefix.pl.in +++ b/test/backupstorefix/testfiles/testbackupstorefix.pl.in @@ -95,7 +95,7 @@ elsif($ARGV[0] eq 'check') # read in the new listing, and compare open LISTING,"../../bin/bbackupquery/bbackupquery -Wwarning " . "-c testfiles/bbackupd.conf " . - "\"list -r\" quit |" + "\"list -R\" quit |" or die "Can't open list utility"; open LISTING_COPY,'>testfiles/listing'.$ARGV[1].'.txt' or die "can't open copy listing file"; @@ -131,7 +131,7 @@ elsif($ARGV[0] eq 'reroot') { open LISTING,"../../bin/bbackupquery/bbackupquery -Wwarning " . "-c testfiles/bbackupd.conf " . - "\"list -r\" quit |" + "\"list -R\" quit |" or die "Can't open list utility"; open LISTING_COPY,'>testfiles/listing'.$ARGV[1].'.txt' or die "can't open copy listing file"; diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp index d09132cc..3927c74d 100644 --- a/test/bbackupd/testbbackupd.cpp +++ b/test/bbackupd/testbbackupd.cpp @@ -3934,7 +3934,7 @@ int test_bbackupd() /* // List the files on the server - why? ::system(BBACKUPQUERY " -q -c testfiles/bbackupd.conf " - "-l testfiles/queryLIST.log \"list -rotdh\" quit"); + "-l testfiles/queryLIST.log \"list -Rotdh\" quit"); TestRemoteProcessMemLeaks("bbackupquery.memleaks"); */ -- cgit v1.2.3