X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Fold%2Ftestfilepath.cc;fp=src%2Fceph%2Fsrc%2Ftest%2Fold%2Ftestfilepath.cc;h=ac21e106963d9831ce14217c391c632a51703b2a;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/test/old/testfilepath.cc b/src/ceph/src/test/old/testfilepath.cc new file mode 100644 index 0000000..ac21e10 --- /dev/null +++ b/src/ceph/src/test/old/testfilepath.cc @@ -0,0 +1,22 @@ + +#include "include/filepath.h" +#include +using namespace std; + +int print(string s) { + filepath fp = s; + cout << "s = " << s << " filepath = " << fp << endl; + cout << " depth " << fp.depth() << endl; + for (int i=0; i