summaryrefslogtreecommitdiffstats
path: root/tests/expand
AgeCommit message (Collapse)AuthorLines
2026-04-15tests: avoid $SHELL -c "ulimit ..." patternPádraig Brady-5/+3
As described in commit v9.10-283-g5cb0cca3b avoid using ulimit with $SHELL -c, and explict invocation of the shell like that can require lots of memory, often due to loading the locale archive. * tests/basenc/bounded-memory.sh: Avoid $SHELL -c with ulimit. * tests/cut/bounded-memory.sh: Likewise. * tests/expand/bounded-memory.sh Likewise. * tests/pr/bounded-memory.sh Likewise. * tests/unexpand/bounded-memory.sh Likewise. * tests/fold/fold-zero-width.sh: Bring the ulimit bound down to the standard 6M over the determined limit.
2026-03-09tests: expand: fix false failure on various systemsPádraig Brady-1/+2
* tests/expand/mb.sh: Use $LOCALE_FR_UTF8 rather than hardcoding "en_US.UTF-8". * tests/unexpand/mb.sh: Likewise. Reported by Bruno Haible.
2026-03-07expand,unexpand: support multi-byte inputLukáš Zaoral-0/+171
* src/expand.c: Use mbbuf to support multi-byte input. * src/unexpand.c: Likewise. * tests/expand/mb.sh: New multi-byte test. * tests/unexpand/mb.sh: Likewise. * tests/local.mk: Reference new tests. * NEWS: Mention the improvement.
2026-01-01maint: run 'make update-copyright'Collin Funk-2/+2
2025-12-02maint: organize expand and unexpand tests in a subdirectoryCollin Funk-0/+191
* tests/misc/expand.pl: Move to tests/expand/expand.pl. * tests/misc/unexpand.pl: Move to tests/unexpand/unexpand.pl. * tests/local.mk (all_tests): Adjust file names.
2025-12-02tests: expand, unexpand: add a test for bounded memory operationCollin Funk-0/+36
* tests/expand/bounded-memory.sh: New file. * tests/unexpand/bounded-memory.sh: New file. * tests/local.mk (all_tests): Add the tests.