aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh')
-rwxr-xr-xsys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh b/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh
index ba27d043b7fe..852bffc7a173 100755
--- a/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh
+++ b/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh
@@ -59,8 +59,8 @@ create_xattr $testfile passwd /etc/passwd
log_must chmod 000 $testfile
if is_illumos; then
- log_mustnot su $ZFS_USER -c "runat $testfile cat passwd"
- log_mustnot su $ZFS_USER -c "runat $testfile cp /etc/passwd ."
+ log_mustnot user_run $ZFS_USER runat $testfile cat passwd
+ log_mustnot user_run $ZFS_USER runat $testfile cp /etc/passwd .
else
log_mustnot user_run $ZFS_USER "
. $STF_SUITE/include/libtest.shlib