diff options
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 25 |
1 files changed, 14 insertions, 11 deletions
@@ -663,17 +663,20 @@ sudo_tests=( test_xtype_bind_mount ) -if [ "$UNAME" = "Linux" ]; then - sudo_tests+=( - test_xattr - test_L_xattr - ) -else - bsd_tests+=( - test_xattr - test_L_xattr - ) -fi +case "$UNAME" in + Darwin|FreeBSD) + bsd_tests+=( + test_xattr + test_L_xattr + ) + ;; + *) + sudo_tests+=( + test_xattr + test_L_xattr + ) + ;; +esac if [ "$DEFAULT" ]; then POSIX=yes |