diff options
Diffstat (limited to 'tests/misc/shuf')
-rwxr-xr-x | tests/misc/shuf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/shuf b/tests/misc/shuf index 8fdbdd9f2..243c0498d 100755 --- a/tests/misc/shuf +++ b/tests/misc/shuf @@ -40,7 +40,7 @@ sort -n out > out1 compare in out1 || { fail=1; echo "not a permutation" 1>&2; } # Exercise shuf's -e option. -t=`shuf -e a b c d e | sort | fmt` +t=$(shuf -e a b c d e | sort | fmt) test "$t" = 'a b c d e' || { fail=1; echo "not a permutation" 1>&2; } # Before coreutils-6.3, this would infloop. |