diff options
Diffstat (limited to 'tests/ls/inode')
-rwxr-xr-x | tests/ls/inode | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ls/inode b/tests/ls/inode index b5c881e27..8bf5ba153 100755 --- a/tests/ls/inode +++ b/tests/ls/inode @@ -25,17 +25,17 @@ ln -s f slink || framework_failure_ # When listed explicitly: -set x `ls -Ci f slink`; shift +set x $(ls -Ci f slink); shift test $# = 4 || fail=1 # The inode numbers should differ. test "$1" != "$3" || fail=1 -set x `ls -CLi f slink`; shift +set x $(ls -CLi f slink); shift test $# = 4 || fail=1 # With -L, they must be the same. test "$1" = "$3" || fail=1 -set x `ls -CHi f slink`; shift +set x $(ls -CHi f slink); shift test $# = 4 || fail=1 # With -H, they must be the same, too, from the command line. # Note that POSIX says -H must make ls dereference only @@ -47,17 +47,17 @@ test "$1" = "$3" || fail=1 # When listed from a directory: -set x `ls -Ci`; shift +set x $(ls -Ci); shift test $# = 4 || fail=1 # The inode numbers should differ. test "$1" != "$3" || fail=1 -set x `ls -CLi`; shift +set x $(ls -CLi); shift test $# = 4 || fail=1 # With -L, they must be the same. test "$1" = "$3" || fail=1 -set x `ls -CHi`; shift +set x $(ls -CHi); shift test $# = 4 || fail=1 # With -H, they must be different from inside a directory. test "$1" != "$3" || fail=1 |