summaryrefslogtreecommitdiff
path: root/tests/misc/shuf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/shuf')
-rwxr-xr-xtests/misc/shuf2
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.