Skip to content

Commit

Permalink
test/backupstorefix: tag bbstoreaccounts check output in tests
Browse files Browse the repository at this point in the history
(cherry picked from commit c31d714)
  • Loading branch information
qris committed Jul 6, 2017
1 parent 54ebb1e commit d84a865
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/backupstorefix/testbackupstorefix.cpp
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 d84a865

Please sign in to comment.