Skip to content

Commit

Permalink
test/backupstorefix: show timestamps and tags in bbstoreaccounts chec…
Browse files Browse the repository at this point in the history
…k output
  • Loading branch information
qris committed Apr 16, 2017
1 parent 1a51adc commit c31d714
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion runtest.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ my $cmake_build = $opts{'c'};
my $prepare_only = $opts{'n'};
my $timestamp_tests = $opts{'T'};
my $verbose_build = $opts{'v'};
my $extra_options = $opts{'O'};
my $extra_options = $opts{'O'} or '';

my $test_name = shift @ARGV;
my $test_mode = shift @ARGV;
Expand Down
8 changes: 5 additions & 3 deletions test/backupstorefix/testbackupstorefix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ int discSetNum = 0;
std::map<std::string, int32_t> nameToID;
std::map<int32_t, bool> objectIsDir;

#define RUN_CHECK \
::system(BBSTOREACCOUNTS " -c testfiles/bbstored.conf check 01234567"); \
::system(BBSTOREACCOUNTS " -c testfiles/bbstored.conf check 01234567 fix");
#define RUN_CHECK \
::system(BBSTOREACCOUNTS " -c testfiles/bbstored.conf -Ttbbstoreaccounts " \
"check 01234567"); \
::system(BBSTOREACCOUNTS " -c testfiles/bbstored.conf -Ttbbstoreaccounts " \
"check 01234567 fix");

// Get ID of an object given a filename
int32_t getID(const char *name)
Expand Down

0 comments on commit c31d714

Please sign in to comment.