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.
This commit is contained in:
Pádraig Brady
2025-08-25 11:39:56 +01:00
parent 17be45b952
commit 01646ccd64
3 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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 \