From: Ondrej Kozina Date: Fri, 15 Mar 2013 16:26:56 +0000 (+0100) Subject: - add xattributes tests to run-all script X-Git-Tag: v0.1.3~18^2~2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=db0bdd98db1dbfbee6cb53817be04ef078fd488a;p=thirdparty%2Fsnapper.git - add xattributes tests to run-all script --- diff --git a/testsuite-real/run-all b/testsuite-real/run-all index 4113565c..3253960a 100755 --- a/testsuite-real/run-all +++ b/testsuite-real/run-all @@ -35,3 +35,5 @@ run error1 run error2 run error4 +test -x xattrs1 && run xattrs1 +test -x xattrs2 && run xattrs2 diff --git a/testsuite-real/xattrs_utils.cc b/testsuite-real/xattrs_utils.cc index 217f0a27..2920b553 100644 --- a/testsuite-real/xattrs_utils.cc +++ b/testsuite-real/xattrs_utils.cc @@ -2,7 +2,6 @@ #include #include -#include #include "xattrs_utils.h" #include "common.h" @@ -25,4 +24,4 @@ void xattr_replace(const char *name, const char *value, const char *path) std::cout << "xa replace: file:" << path << "," << name << "=" << value << "... "; check_zero(lsetxattr(path, name, (void *) value, strlen(value), XATTR_REPLACE)); std::cout << "done" << std::endl; -} \ No newline at end of file +}