]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- add xattributes tests to run-all script
authorOndrej Kozina <okozina@redhat.com>
Fri, 15 Mar 2013 16:26:56 +0000 (17:26 +0100)
committerOndrej Kozina <okozina@redhat.com>
Fri, 15 Mar 2013 16:26:56 +0000 (17:26 +0100)
testsuite-real/run-all
testsuite-real/xattrs_utils.cc

index 4113565c5bf1fa1fb1cbc49a1ad4c4982ca5d06e..3253960ac5200d25d98ba1111e74f5e76bf8eb42 100755 (executable)
@@ -35,3 +35,5 @@ run error1
 run error2
 run error4
 
+test -x xattrs1 && run xattrs1
+test -x xattrs2 && run xattrs2
index 217f0a27540c7b5d1830a8ae1b61772ce4f06074..2920b553597e361f089374710fdb5011d1956043 100644 (file)
@@ -2,7 +2,6 @@
 #include <string.h>
 #include <sys/xattr.h>
 
-#include <snapper/XAttributes.h>
 #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
+}