aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2025-08-25 11:39:56 +0100
committerPádraig Brady <P@draigBrady.com>2025-08-26 16:49:56 +0100
commit01646ccd64dca25af33defca39685026028daecb (patch)
treec82dd88a10d99ebccbcc1e94499cc0b66c315947 /tests
parenttests: fold: add a memory constraint test (diff)
downloadcoreutils-01646ccd64dca25af33defca39685026028daecb.tar.gz
coreutils-01646ccd64dca25af33defca39685026028daecb.zip
tests: fold: consolidate all fold tests in tests/fold
* tests/misc/fold.pl: Move from here to ... * tests/fold/fold.pl: ... here. * tests/local.mk: Adjust accordingly.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/fold/fold-characters.sh2
-rwxr-xr-xtests/fold/fold.pl (renamed from tests/misc/fold.pl)0
-rw-r--r--tests/local.mk2
3 files changed, 2 insertions, 2 deletions
diff --git a/tests/fold/fold-characters.sh b/tests/fold/fold-characters.sh
index a6cc39b73..159f6ddac 100755
--- a/tests/fold/fold-characters.sh
+++ b/tests/fold/fold-characters.sh
@@ -60,7 +60,7 @@ compare character-exp2 character-out2 || fail=1
# Ensure bounded memory operation
vm=$(get_min_ulimit_v_ fold /dev/null) && {
- yes | tr -d '\n' | (ulimit -v $(($vm+8000)) && fold 2>err) | head -n10 || fail=1
+ yes | tr -d '\n' | (ulimit -v $(($vm+8000)) && fold 2>err) | head || fail=1
compare /dev/null err || fail=1
}
diff --git a/tests/misc/fold.pl b/tests/fold/fold.pl
index 877322e0a..877322e0a 100755
--- a/tests/misc/fold.pl
+++ b/tests/fold/fold.pl
diff --git a/tests/local.mk b/tests/local.mk
index d883c00ba..bcb01dd8e 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -329,7 +329,7 @@ all_tests = \
tests/fold/fold-characters.sh \
tests/fold/fold-nbsp.sh \
tests/fold/fold-spaces.sh \
- tests/misc/fold.pl \
+ tests/fold/fold.pl \
tests/groups/groups-dash.sh \
tests/groups/groups-process-all.sh \
tests/groups/groups-version.sh \