X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Fold%2Ftestxattr.cc;fp=src%2Fceph%2Fsrc%2Ftest%2Fold%2Ftestxattr.cc;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=b1ef126dc7d6170fc113771ead916358784ba994;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/test/old/testxattr.cc b/src/ceph/src/test/old/testxattr.cc deleted file mode 100644 index b1ef126..0000000 --- a/src/ceph/src/test/old/testxattr.cc +++ /dev/null @@ -1,29 +0,0 @@ - -#include -using namespace std; - - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int main(int argc, char**argv) -{ - int a = 1; - int b = 2; - - mknod("test", 0600, 0); - - cout << "setxattr " << setxattr("test", "asdf", &a, sizeof(a), 0) << endl; - cout << "errno " << errno << " " << strerror(errno) << endl; - cout << "getxattr " << getxattr("test", "asdf", &b, sizeof(b)) << endl; - cout << "errno " << errno << " " << strerror(errno) << endl; - cout << "a is " << a << " and b is " << b << endl; - return 0; -}