From: Pádraig Brady
Date: Mon, 25 Aug 2025 10:39:56 +0000 (+0100) Subject: tests: fold: consolidate all fold tests in tests/fold X-Git-Tag: v9.8~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=01646ccd64dca25af33defca39685026028daecb;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/fold/fold-characters.sh b/tests/fold/fold-characters.sh index a6cc39b73c..159f6ddac8 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 similarity index 100% rename from tests/misc/fold.pl rename to tests/fold/fold.pl diff --git a/tests/local.mk b/tests/local.mk index d883c00ba0..bcb01dd8ed 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 \