summaryrefslogtreecommitdiff
path: root/tests/split
diff options
context:
space:
mode:
Diffstat (limited to 'tests/split')
-rwxr-xr-xtests/split/l-chunk.sh8
-rwxr-xr-xtests/split/line-bytes.sh4
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/split/l-chunk.sh b/tests/split/l-chunk.sh
index 066fb01f8..792c55691 100755
--- a/tests/split/l-chunk.sh
+++ b/tests/split/l-chunk.sh
@@ -71,7 +71,7 @@ DEBUGGING=
test "$DEBUGGING" && test "$VERBOSE" && set +x
for ELIDE_EMPTY in '' '-e'; do
for IO_BLKSIZE in 1 2 5 10 80 100; do
- : > out
+ > out
test "$DEBUGGING" && printf "\n---io-blk-size=$IO_BLKSIZE $ELIDE_EMPTY\n"
for N in 6 8 12 15 22; do
rm -f x*
@@ -119,15 +119,15 @@ test "$DEBUGGING" && test "$VERBOSE" && set -x
# Check extraction of particular chunks
-: > out
+> out
printf '1\n12345\n' > exp
split -n l/13/15 in > out
compare exp out || fail=1
-: > out
+> out
printf '' > exp
split -n l/14/15 in > out
compare exp out || fail=1
-: > out
+> out
printf '1\n12345\n1\n' > exp
split -n l/15/15 in > out
compare exp out || fail=1
diff --git a/tests/split/line-bytes.sh b/tests/split/line-bytes.sh
index 9dc06a6fc..5f6f505ba 100755
--- a/tests/split/line-bytes.sh
+++ b/tests/split/line-bytes.sh
@@ -63,8 +63,8 @@ cat <<\EOF > no_eol_splits_exp
EOF
for b in $(seq 10); do
- : > splits
- : > no_eol_splits
+ > splits
+ > no_eol_splits
for s in $(seq 11); do
rm x??
split ---io=$b -C$s in || fail=1