summaryrefslogtreecommitdiff
path: root/tests/split
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-10-08 01:14:57 +0100
committerPádraig Brady <P@draigBrady.com>2014-10-08 01:14:57 +0100
commit560dad02c3a8421b4895f2c08c43ce12f42d1ee0 (patch)
treeb27a525b666928fc0611be9e3fd648061e00aa5d /tests/split
parent2662702b9e8643f62c670bbf2fa94b1be1ccf9af (diff)
downloadcoreutils-560dad02c3a8421b4895f2c08c43ce12f42d1ee0.tar.xz
maint: avoid syntax-check failures in previous patch
* tests/misc/od-j.sh: Non standard comparison order. * tests/split/b-chunk.sh: Confusing input file name. * tests/tail-2/tail-c.sh: Redundant require ulimit.
Diffstat (limited to 'tests/split')
-rwxr-xr-xtests/split/b-chunk.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/split/b-chunk.sh b/tests/split/b-chunk.sh
index fefa0900d..5938a7444 100755
--- a/tests/split/b-chunk.sh
+++ b/tests/split/b-chunk.sh
@@ -29,16 +29,16 @@ rm -f x??
split -e -n 10 /dev/null || fail=1
stat x?? 2>/dev/null && fail=1
-printf '1\n2\n3\n4\n5\n' > in || framework_failure_
+printf '1\n2\n3\n4\n5\n' > input || framework_failure_
-for file in in /proc/version /sys/kernel/profiling; do
+for file in input /proc/version /sys/kernel/profiling; do
split -n 3 $file > out || fail=1
split -n 1/3 $file > b1 || fail=1
split -n 2/3 $file > b2 || fail=1
split -n 3/3 $file > b3 || fail=1
case $file in
- in)
+ input)
printf '1\n2' > exp-1
printf '\n3\n' > exp-2
printf '4\n5\n' > exp-3