diff options
Diffstat (limited to 'tests/cp')
-rwxr-xr-x | tests/cp/existing-perm-race | 3 | ||||
-rwxr-xr-x | tests/cp/file-perm-race | 3 | ||||
-rwxr-xr-x | tests/cp/parent-perm-race | 3 | ||||
-rwxr-xr-x | tests/cp/special-f | 4 |
4 files changed, 5 insertions, 8 deletions
diff --git a/tests/cp/existing-perm-race b/tests/cp/existing-perm-race index 6afe1a2fa..a2a6493fa 100755 --- a/tests/cp/existing-perm-race +++ b/tests/cp/existing-perm-race @@ -30,8 +30,7 @@ g2=$2 umask 077 -mkfifo fifo || - skip_test_ "fifos not supported" +mkfifo_or_skip_ fifo touch fifo-copy && chgrp $g1 fifo && diff --git a/tests/cp/file-perm-race b/tests/cp/file-perm-race index 1e84b1eb5..41f01efce 100755 --- a/tests/cp/file-perm-race +++ b/tests/cp/file-perm-race @@ -23,8 +23,7 @@ print_ver_ cp require_local_dir_ umask 022 -mkfifo fifo || - skip_test_ "fifos not supported" +mkfifo_or_skip_ fifo # Copy a fifo's contents. That way, we can examine the # destination permissions before they're finalized. diff --git a/tests/cp/parent-perm-race b/tests/cp/parent-perm-race index 4af3b69d0..366efbaa7 100755 --- a/tests/cp/parent-perm-race +++ b/tests/cp/parent-perm-race @@ -29,8 +29,7 @@ chmod g+s d 2>/dev/null # The cp test is valid either way. for attr in mode ownership do - mkfifo $attr/fifo || - skip_test_ "fifos not supported" + mkfifo_or_skip_ $attr/fifo # Copy a fifo's contents. That way, we can examine d/$attr's # state while cp is running. diff --git a/tests/cp/special-f b/tests/cp/special-f index fb7550077..3f63921f1 100755 --- a/tests/cp/special-f +++ b/tests/cp/special-f @@ -20,8 +20,8 @@ . "${srcdir=.}/init.sh"; path_prepend_ ../src print_ver_ cp -mkfifo fifo || - skip_test_ "fifos not supported" +mkfifo_or_skip_ fifo + touch e || framework-failure |