From: Sage Weil Date: Sun, 28 Jul 2013 22:42:08 +0000 (-0700) Subject: ceph_test_rados: print version banner on startup X-Git-Tag: v0.67-rc3~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=12c1f1157c7b9513a3d9f716a8ec62fce00d28f5;p=ceph.git 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 --- diff --git a/src/test/osd/TestRados.cc b/src/test/osd/TestRados.cc index 43530f008284..6ac661c06294 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 #include @@ -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