summaryrefslogtreecommitdiffstats
path: root/tests/tac
AgeCommit message (Collapse)AuthorLines
14 daysmaint: tests: refactor uses of bad_unicode()Pádraig Brady-2/+1
* init.cfg: Use 0xFF rather than 0xC3 everywhere. * tests/fold/fold-characters.sh: Reuse bad_unicode(). * tests/tac/tac-locale.sh: Likewise.
2026-02-18maint: tests: avoid ENOSPC specific handlingPádraig Brady-1/+2
* tests/csplit/csplit-io-err.sh: Adjust determination of ENOSPC. * tests/csplit/split-io-err.sh: Likewise. * tests/fold/fold-zero-width.sh: Verify full ENOSPC message. * tests/tac/tac-continue.sh: Likewise. * tests/misc/io-errors.sh: Likewise. * tests/misc/write-errors.sh: Likewise.
2026-01-26tests: tac: test --regex with anchors in the separatorCollin Funk-0/+4
* tests/tac/tac.pl (@Tests): Add a few test cases.
2026-01-01maint: run 'make update-copyright'Collin Funk-4/+4
2025-12-07tests: tac-continue.sh: modernise and always execute as rootPádraig Brady-44/+11
* tests/tac/tac-continue.sh: This test was very awkard to setup, and thus always skipped. Instead move to a root only test that creates an almost full partition itself. * tests/local.mk: Move test to root only. Suggested at https://github.com/uutils/coreutils/pull/9590
2025-11-28tests: tac: test --separator with invalid UTF-8Collin Funk-0/+2
* tests/tac/tac-locale.sh: Test that a string containing invalid UTF-8 characters can be used for --separator.
2025-11-28test: tac: test with non-ASCII values for --separatorCollin Funk-0/+43
* tests/tac/tac-locale.sh: New test. * tests/local.mk (all_tests): Add it.
2025-01-01maint: update all copyright year number rangesPádraig Brady-3/+3
Update to latest gnulib with new copyright year. Run "make update-copyright" and then... * gnulib: Update included in this commit as copyright years are the only change from the previous gnulib commit. * tests/init.sh: Sync with gnulib to pick up copyright year. * bootstrap: Likewise. * tests/sample-test: Adjust to use the single most recent year.
2024-01-01maint: update all copyright year number rangesPádraig Brady-3/+3
Update to latest gnulib with new copyright year. Run "make update-copyright" and then... * gnulib: Update included in this commit as copyright years are the only change from the previous gnulib commit. * tests/init.sh: Sync with gnulib to pick up copyright year. * bootstrap: Manually update copyright year, until we fully sync with gnulib at a later stage. * tests/sample-test: Adjust to use the single most recent year.
2023-07-18tac: fall back to /tmp if $TMPDIR is unavailablePádraig Brady-3/+1
This also refactors temp_stream() to its own module, in preparation for use by split. * src/tac.c: Refactor temp_stream() out to ... * src/temp-stream.c: ... A new module mostly refactored from tac, but uses tmpdir to more robustly support $TMPDIR, while falling back to /tmp if not available. * src/temp-stream.h: The new module interface. * src/local.mk: Reference the new module from tac. * tests/tac/tac.pl: Adjust to non failing missing $TMPDIR. * po/POTFILES.in: Reference the new module with translatable strings. * NEWS: Mention the user visible improvements to tac TMPDIR handling.
2023-06-19tests: move tests to a directory per utilitySylvestre Ledru-0/+212
* cfg.mk: Adjust syntax check exclusion paths. * tests/local.mk: Adjust for renamed tests.
2008-05-08tests: remove directory, tests/tac/Jim Meyering-82/+0
* configure.ac (AC_CONFIG_FILES): Remove tests/tac/Makefile. * tests/Makefile.am (SUBDIRS): Remove tac. * tests/misc/tac: Many new tests, from... * tests/tac/Test.pm: ...here. Remove file.
2007-08-25Remove all .cvsignore files from version control.Jim Meyering-7/+0
2007-07-23Update all copyright notices to use the newer form.Jim Meyering-5/+3
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering-1/+1
2007-05-13Remove the generated tests/*/Makefile.am files from version control.Jim Meyering-70/+0
* tests/cut/Makefile.am: git-remove this generated file. * tests/head/Makefile.am: Likewise. * tests/join/Makefile.am: Likewise. * tests/pr/Makefile.am: Likewise. * tests/sort/Makefile.am: Likewise. * tests/tac/Makefile.am: Likewise. * tests/tail/Makefile.am: Likewise. * tests/test/Makefile.am: Likewise. * tests/tr/Makefile.am: Likewise. * tests/uniq/Makefile.am: Likewise. * tests/wc/Makefile.am: Likewise. * .cvsignore, .gitignore: Ignore these generated files. * src/.cvsignore, src/.gitignore: Add chcon here, ... * .cvsignore, .gitignore: ... not here.
2007-01-13Put CU_TEST_NAME in the environment for each test run by "make check".Jim Meyering-0/+1
* Transform all Makefile.am files so that when running "make check", CU_TEST_NAME is set to the name of the test. This is so that when I run valgrind-enabled (--log-file-qualifier=CU_TEST_NAME) "make check" on the entire package it is more convenient to map a leak or error found in a valgrind log file back to the offending test. Use this command: (echo tests/Makefile.am.in; find tests -name Makefile.am) \ |xargs perl -pi -e '/^(\s*)PATH=...VG_PATH_PREFIX/ and ' \ -e 'print $1,q|CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst |,"\\\n"'
2006-08-22* aclocal.m4, config.hin, configure:Paul Eggert-5/+4
Remove from CVS, since ./bootstrap generates them automatically. * .cvsignore: Add INSTALL, Makefile.in, *.cache, *.lineno, *.log. Remove more-specific entries. This catches files like configure.lineno. * man/.cvsignore: Add Makefile.in. * src/.cvsignore: Add Makefile.in. Remove .version, dir.c, install, mvdir, stamp-v, vdir.c, version.c. For .cvsignore file under the tests directory: Add Makefile.in. Sort entries if necessary. Remove *.I, *.E, *.X, *.O, *-tests, build-script, mk-script if they're never created in this directory. * build-aux/.cvsignore: New file. * doc/.cvsignore: Add Makefile.in, coreutils.html, coreutils.pdf, coreutils.ps, coreutils.tps. Remove coreutils.cm (dunno what it is, but the makefile doesn't mention it). Remove coreutils.info as it is subsumed by coreutils.info*. * lib/.cvsignore: Add Makefile.in, getdate.tab.h. Remove stat.c, sysexit.h. * m4/.cvsignore: Remove Makefile, dev-ino.m4, glibc2.m4, intdiv0.m4, inttypes-h.m4, inttypes-pri.m4, jm-glibc-io.m4, lcmessage.m4, lock.m4, printf-posix.m4, same-inode.m4, size_max.m4, uintmax_t.m4, ulonglong.m4, visibility.m4, xsize.m4. Many of these are put in automatically by ../bootstrap, but that's a bootstrap bug that I plan to fix shortly. * po/.cvsignore: More ../bootstrap-related fixes, plus remove old cruft. Add *.po, LINGUAS, Makevars. Remove *.cat, *.msg, cat-id-dbl.c, messages.mo, stamp-cat-id.
2006-08-21Remove from CVS, since the bootstrap script generates them automatically.Paul Eggert-633/+0
2006-08-19.Jim Meyering-1/+22
2006-08-19Some of my 2006-07-03 changes to tests/*/Makefile.am were beingJim Meyering-1/+2
backed out due to updates provoked by the copyright changes. * tests/Makefile.am.in (PATH): Prepend $(VG_PATH_PREFIX), so that it propagates to the derived Makefile.am files. ($(srcdir)/Makefile.am): Mark generated .am files as read-only, so we don't mistakenly edit them again. * tests/cut/Makefile.am: Regenerate. * tests/head/Makefile.am: Likewise. * tests/join/Makefile.am: Likewise. * tests/pr/Makefile.am: Likewise. * tests/sort/Makefile.am: Likewise. * tests/tac/Makefile.am: Likewise. * tests/tail/Makefile.am: Likewise. * tests/test/Makefile.am: Likewise. * tests/tr/Makefile.am: Likewise. * tests/uniq/Makefile.am: Likewise. * tests/wc/Makefile.am: Likewise.
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert-1/+38
2006-08-15.Jim Meyering-39/+46
2006-08-09Regenerate.Paul Eggert-13/+15
2006-08-09Regenerate.Paul Eggert-34/+36
2006-07-17Regenerate.Paul Eggert-36/+35
2006-07-09Regenerate.Paul Eggert-40/+62
2006-07-03* tests/Makefile.am, tests/*/Makefile.am: (TESTS_ENVIRONMENT):Jim Meyering-1/+1
Add $VG_PATH_PREFIX as a prefix to $PATH
2006-05-06.Jim Meyering-2/+0
2006-03-26.Jim Meyering-3/+4
2006-03-12.Jim Meyering-6/+6
2006-02-20.Jim Meyering-5/+7
2006-01-12.Jim Meyering-5/+8
2006-01-04.Jim Meyering-14/+14
2005-12-21.Jim Meyering-1/+2
2005-12-17.Jim Meyering-0/+1
2005-12-15.Jim Meyering-3/+5
2005-12-03.Jim Meyering-1/+0
2005-11-22.Jim Meyering-0/+1
2005-10-23.Jim Meyering-1/+2
2005-09-23.Jim Meyering-5/+6
2005-09-22.Jim Meyering-0/+8
2005-09-22Regenerate.Paul Eggert-13/+16
2005-09-16Regenerate.Paul Eggert-14/+7
2005-09-10.Jim Meyering-0/+8
2005-09-09Regenerate.Paul Eggert-8/+0
2005-09-04.Jim Meyering-0/+8
2005-08-02.Jim Meyering-23/+21
2005-07-12.Jim Meyering-1/+1
2005-07-08Regenerate.Paul Eggert-1/+1