summaryrefslogtreecommitdiff
path: root/tests/mv/hard-2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv/hard-2')
-rwxr-xr-xtests/mv/hard-212
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/mv/hard-2 b/tests/mv/hard-2
index c1d25af0a..e0fc174f0 100755
--- a/tests/mv/hard-2
+++ b/tests/mv/hard-2
@@ -43,9 +43,9 @@ test -f b || fail=1
test -f c || fail=1
# The three i-node numbers must be the same.
-ia=`ls -i a|sed 's/ a//'`
-ib=`ls -i b|sed 's/ b//'`
-ic=`ls -i c|sed 's/ c//'`
+ia=$(ls -i a|sed 's/ a//')
+ib=$(ls -i b|sed 's/ b//')
+ic=$(ls -i c|sed 's/ c//')
test $ia = $ib || fail=1
test $ia = $ic || fail=1
@@ -68,9 +68,9 @@ test -f b || fail=1
test -f c || fail=1
# The three i-node numbers must be the same.
-ia=`ls -i a|sed 's/ a//'`
-ib=`ls -i b|sed 's/ b//'`
-ic=`ls -i c|sed 's/ c//'`
+ia=$(ls -i a|sed 's/ a//')
+ib=$(ls -i b|sed 's/ b//')
+ic=$(ls -i c|sed 's/ c//')
test $ia = $ib || fail=1
test $ia = $ic || fail=1