summaryrefslogtreecommitdiff
path: root/tests/chmod/equal-x
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chmod/equal-x')
-rwxr-xr-xtests/chmod/equal-x2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chmod/equal-x b/tests/chmod/equal-x
index d2998d137..e2cac3478 100755
--- a/tests/chmod/equal-x
+++ b/tests/chmod/equal-x
@@ -25,7 +25,7 @@ touch $file || framework_failure_
umask 005
for mode in =x =xX =Xx =x,=X =X,=x; do
chmod a=r,$mode $file || fail=1
- case "`ls -l $file`" in
+ case "$(ls -l $file)" in
---x--x---*) ;;
*) fail=1; echo "after 'chmod $mode $file':"; ls -l $file ;;
esac