diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-01-10 21:12:38 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-01-10 21:18:33 +0000 |
commit | eef0cd62dd63c12e28b1c7779fb149a8a30f8fe7 (patch) | |
tree | 789e43749002627c935449f8b60584ad1a78367a /tests/misc/shuf.sh | |
parent | fb13cdc727541adef0010279f770f2afa358002e (diff) | |
download | coreutils-eef0cd62dd63c12e28b1c7779fb149a8a30f8fe7.tar.xz |
maint: clean up some test issues identified with shellcheck
* tests/cp/cp-a-selinux.sh: Comment why unused variables are assigned.
Fix misspellings noticed while adjusting.
* tests/cp/fiemap-perf.sh: Fix quoting.
* tests/misc/shuf.sh: Avoid useless use of cat.
* tests/misc/printf-surprise.sh: Likewise.
Diffstat (limited to 'tests/misc/shuf.sh')
-rwxr-xr-x | tests/misc/shuf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/shuf.sh b/tests/misc/shuf.sh index 34f422507..c7db14f60 100755 --- a/tests/misc/shuf.sh +++ b/tests/misc/shuf.sh @@ -125,7 +125,7 @@ test "$c" = "0 1 2 3 4 5 6 7 8 9" || # check --repeat with non-zero low value shuf --rep -i222-233 -n2000 > exp || framework_failure_ -c=$(cat exp | sort -nu | paste -s -d ' ') || framework_failure_ +c=$(sort -nu exp | paste -s -d ' ') || framework_failure_ test "$c" = "222 223 224 225 226 227 228 229 230 231 232 233" || { fail=1; echo "--repeat produced bad output with non-zero low">&2 ; } |