diff options
author | Jim Meyering <meyering@redhat.com> | 2011-06-14 16:22:41 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-06-17 09:17:37 +0200 |
commit | 2e580ca741b83202e6b22e0bb58b18101a443bd8 (patch) | |
tree | 790f68faa9a1d05898f71be8bdeee1b574ec2bb2 /tests/cp/cp-mv-enotsup-xattr | |
parent | 13672ec3211a5a77caf16dc24b83100d57e2a2ec (diff) | |
download | coreutils-2e580ca741b83202e6b22e0bb58b18101a443bd8.tar.xz |
tests: remove skip_test_ function; use new skip_ instead
* tests/init.cfg (skip_test_): Remove function.
Use skip_ in place of skip_test_ everywhere else.
* cfg.mk (sc_prohibit_skip_): Remove rule.
* tests/**: Use skip_, not skip_test_, everywhere.
Diffstat (limited to 'tests/cp/cp-mv-enotsup-xattr')
-rwxr-xr-x | tests/cp/cp-mv-enotsup-xattr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/cp/cp-mv-enotsup-xattr b/tests/cp/cp-mv-enotsup-xattr index 1732e2e4c..2f26dbd82 100755 --- a/tests/cp/cp-mv-enotsup-xattr +++ b/tests/cp/cp-mv-enotsup-xattr @@ -39,13 +39,13 @@ make_fs() { || skip=1 mkdir "$where" || skip=1 mkfs -t ext2 -F "$fs" || - skip_test_ "failed to create ext2 file system" + skip_ "failed to create ext2 file system" mount -oloop,$opts "$fs" "$where" || skip=1 echo test > "$where"/f || skip=1 test -s "$where"/f || skip=1 test $skip = 1 && - skip_test_ "insufficient mount/ext2 support" + skip_ "insufficient mount/ext2 support" } make_fs noxattr nouser_xattr @@ -57,13 +57,13 @@ xattr_value="bar" xattr_pair="$xattr_name=\"$xattr_value\"" echo test > xattr/a || framework_failure -getfattr -d xattr/a >out_a || skip_test_ "failed to get xattr of file" +getfattr -d xattr/a >out_a || skip_ "failed to get xattr of file" grep -F "$xattr_pair" out_a >/dev/null && framework_failure setfattr -n "$xattr_name" -v "$xattr_value" xattr/a >out_a \ - || skip_test_ "failed to set xattr of file" -getfattr -d xattr/a >out_a || skip_test_ "failed to get xattr of file" + || skip_ "failed to set xattr of file" +getfattr -d xattr/a >out_a || skip_ "failed to get xattr of file" grep -F "$xattr_pair" out_a >/dev/null \ - || skip_test_ "failed to set xattr of file" + || skip_ "failed to set xattr of file" # This should pass without diagnostics |