diff options
author | Sage Weil <sage@inktank.com> | 2013-07-28 15:42:08 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-28 15:42:08 -0700 |
commit | 12c1f1157c7b9513a3d9f716a8ec62fce00d28f5 (patch) | |
tree | ccb5b637eb96135de6e6827f21088432a274dda0 | |
parent | 74c1bec2aa01caf0237b4750cf05404b6d09aa18 (diff) | |
download | ceph-12c1f1157c7b9513a3d9f716a8ec62fce00d28f5.tar.gz |
ceph_test_rados: print version banner on startup
It is helpful when looking at qa run logs to see what version of the
tester is running.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/test/osd/TestRados.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/osd/TestRados.cc b/src/test/osd/TestRados.cc index 43530f00828..6ac661c0629 100644 --- a/src/test/osd/TestRados.cc +++ b/src/test/osd/TestRados.cc @@ -2,6 +2,7 @@ #include "common/Mutex.h" #include "common/Cond.h" #include "common/errno.h" +#include "common/version.h" #include <iostream> #include <sstream> @@ -14,6 +15,7 @@ #include "test/osd/RadosModel.h" + using namespace std; class WeightedTestGenerator : public TestOpGenerator @@ -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 |