summaryrefslogtreecommitdiff
path: root/tests/mv/hard-link-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv/hard-link-1')
-rwxr-xr-xtests/mv/hard-link-14
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mv/hard-link-1 b/tests/mv/hard-link-1
index eccd8bcdb..78a555ac9 100755
--- a/tests/mv/hard-link-1
+++ b/tests/mv/hard-link-1
@@ -34,8 +34,8 @@ mv $dir "$other_partition_tmpdir" || fail=1
ls -1i "$other_partition_tmpdir/$dir" > out || fail=1
# Make sure the inode numbers are the same.
-a=`sed -n 's/ a$//p' out`
-b=`sed -n 's/ b$//p' out`
+a=$(sed -n 's/ a$//p' out)
+b=$(sed -n 's/ b$//p' out)
test "$a" = "$b" || fail=1
Exit $fail