summaryrefslogtreecommitdiff
path: root/tests/15_xattr_add.sh
diff options
context:
space:
mode:
authorBen Brown <ben.brown@codethink.co.uk>2014-01-06 11:11:19 +0000
committerBen Brown <ben.brown@codethink.co.uk>2014-01-06 11:11:19 +0000
commitb3447cb0dccac2227cac8aadce0b6acbf81c1d66 (patch)
tree8d23b425ff558ab9f94a678d9b440f5bf2d06a91 /tests/15_xattr_add.sh
parent672e64a86f5d07ff5c5d26495af257336f57deab (diff)
parent646dcf88fb2a79a9567f3fadf9711e2e6bc58176 (diff)
downloadtbdiff-b3447cb0dccac2227cac8aadce0b6acbf81c1d66.tar.gz
Merge branch 'benbrown/S9537/convert-xattribute-tests'
Diffstat (limited to 'tests/15_xattr_add.sh')
-rwxr-xr-xtests/15_xattr_add.sh37
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/15_xattr_add.sh b/tests/15_xattr_add.sh
deleted file mode 100755
index 1dcec4c..0000000
--- a/tests/15_xattr_add.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-TEST_ID="15"
-TEST_NAME="Extended Attributes manipulation"
-
-CREATE=`pwd`/$1
-DEPLOY=`pwd`/$2
-TEST_TOOLS=$3
-
-. ./test_lib.sh
-
-############# Test specific code ############
-if is_command getfattr && is_command setfattr; then :; else
- echo Test requires commands: getfattr, setfattr, attr >&2
- exit 127
-fi
-
-setup_origin () {
- touch $ORIGIN/file &&
- setfattr -n "user.preserve" -v "true" $ORIGIN/file &&
- setfattr -n "user.change" -v "false" $ORIGIN/file &&
- setfattr -n "user.remove" -v "false" $ORIGIN/file
-}
-
-setup_target () {
- touch $TARGET/file &&
- setfattr -n "user.preserve" -v "true" $TARGET/file &&
- setfattr -n "user.change" -v "true" $TARGET/file &&
- setfattr -n "user.add" -v "true" $TARGET/file
-}
-
-check_results () {
- check_xattrs $ORIGIN/file $TARGET/file
-}
-
-#############################################
-main $@