Skip to content

Commit

Permalink
ceph_test_rados: print version banner on startup
Browse files Browse the repository at this point in the history
It is helpful when looking at qa run logs to see what version of the
tester is running.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil committed Jul 28, 2013
1 parent 74c1bec commit 12c1f11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/osd/TestRados.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "common/Mutex.h"
#include "common/Cond.h"
#include "common/errno.h"
#include "common/version.h"

#include <iostream>
#include <sstream>
Expand All @@ -14,6 +15,7 @@

#include "test/osd/RadosModel.h"


using namespace std;

class WeightedTestGenerator : public TestOpGenerator
Expand Down Expand Up @@ -250,6 +252,7 @@ int main(int argc, char **argv)
if (max_stride_size < 0)
max_stride_size = size / 5;

cout << pretty_version_to_str() << std::endl;
cout << "Configuration:" << std::endl
<< "\tNumber of operations: " << ops << std::endl
<< "\tNumber of objects: " << objects << std::endl
Expand Down

0 comments on commit 12c1f11

Please sign in to comment.