summaryrefslogtreecommitdiff
path: root/tests/mkdir/special-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mkdir/special-1')
-rwxr-xr-xtests/mkdir/special-14
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mkdir/special-1 b/tests/mkdir/special-1
index fbf3f1f7b..d478930eb 100755
--- a/tests/mkdir/special-1
+++ b/tests/mkdir/special-1
@@ -26,7 +26,7 @@ tmp=t
mkdir -m$set_mode_string $tmp || fail=1
test -d $tmp || fail=1
-mode=`ls -ld $tmp|cut -b-10`
+mode=$(ls -ld $tmp|cut -b-10)
case "$mode" in
$output_mode_string) ;;
*) fail=1 ;;
@@ -42,7 +42,7 @@ mkdir -m$set_mode_string $tmp2 2> /dev/null && fail=1
mkdir --parents -m$set_mode_string $tmp2 || fail=1
test -d $tmp2 || fail=1
-mode=`ls -ld $tmp2|cut -b-10`
+mode=$(ls -ld $tmp2|cut -b-10)
case "$mode" in
$output_mode_string) ;;
*) fail=1 ;;