diff options
Diffstat (limited to 'tests/misc')
-rwxr-xr-x | tests/misc/pathchk1 | 2 | ||||
-rwxr-xr-x | tests/misc/selinux | 2 | ||||
-rwxr-xr-x | tests/misc/shred-remove | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/pathchk1 b/tests/misc/pathchk1 index ffe917910..453a8e277 100755 --- a/tests/misc/pathchk1 +++ b/tests/misc/pathchk1 @@ -21,8 +21,8 @@ if test "$VERBOSE" = yes; then pathchk --version fi -PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check . $srcdir/../test-lib.sh +skip_if_root_ touch file || framework_failure diff --git a/tests/misc/selinux b/tests/misc/selinux index 90ab2d6c4..a4fc78ac4 100755 --- a/tests/misc/selinux +++ b/tests/misc/selinux @@ -12,8 +12,8 @@ fi . $srcdir/../lang-default . $srcdir/../selinux -PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check . $srcdir/../test-lib.sh +skip_if_root_ # Create a regular file, dir, fifo. touch f || framework_failure diff --git a/tests/misc/shred-remove b/tests/misc/shred-remove index ae7443b18..f09c6f3e8 100755 --- a/tests/misc/shred-remove +++ b/tests/misc/shred-remove @@ -21,8 +21,8 @@ if test "$VERBOSE" = yes; then shred --version fi -PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check . $srcdir/../test-lib.sh +skip_if_root_ # The length of the basename is what matters. # In this case, shred would try to rename the file 256^10 times |