diff --git a/tests/checks/create-base-directories.fish b/tests/checks/create-base-directories.fish index 1dc97891d..55b435d90 100644 --- a/tests/checks/create-base-directories.fish +++ b/tests/checks/create-base-directories.fish @@ -10,7 +10,8 @@ $fish -c '' # Check that existing directories kept their permissions, and new directories # have the right permissions according to the XDG Base Directory Specification. -ls -ld $dir/old $dir/old/new $dir/old/new/fish | awk '{print $1}' +# Use command ls to turn off indicators in case of xattrs or similar. +command ls -ld $dir/old $dir/old/new $dir/old/new/fish | awk '{print $1}' # CHECK: drwxr-xr-x # CHECK: drwx------ # CHECK: drwx------