summaryrefslogtreecommitdiffstats
path: root/tests/env
AgeCommit message (Collapse)AuthorLines
2026-01-18tests: env.sh: avoid multi-call binary considerationsoech3-3/+6
A simpler fix than commit v9.9-4-g3b6efd555 which is less dependent on the exact behavior of a multi-call binary. * tests/env/env.sh: Use a local script rather than 'true'. which may be a symlinked multi-call binary. https://github.com/coreutils/coreutils/pull/174
2026-01-01maint: run 'make update-copyright'Collin Funk-5/+5
2025-12-29tests: env: check that real-time signals can be ignoredCollin Funk-0/+29
* tests/env/env-signal-handler.sh: Test that --ignore-signal with no options also ignores real-time signals. Test that real-time signals can be ignored by explicitly listing them.
2025-12-11tests: env: ensure non-utf8 name or value is supportedPádraig Brady-0/+8
* tests/env/env.sh: Add a test case ensuring non-utf8 characters in the name or value are supported.
2025-12-10tests: env: add a test for --ignore-signal=PIPEPádraig Brady-10/+24
* tests/env/env-signal-handler.sh: Add a test for this oft interfered with signal.
2025-11-12tests: env --argv0: fix false failure with symlinked single binaryPádraig Brady-1/+3
* tests/env/env.sh: Always pass --coreutils-prog=true so that the program to run can be determined with --enable-single-binary=symlinks. Also actually verify the expected verbose output. Reported by the Alpine Linux project.
2025-09-19tests: env: skip a few tests if LD_LIBRARY_PATH is setCollin Funk-0/+23
* tests/env/env-null.sh: Skip test if LD_LIBRARY_PATH or platform's equivalent is set, since 'env -i' will unset it which may prevent programs from running. * tests/env/env-S.pl: Likewise. Issue and suggested fix reported by Bruno Haible.
2025-01-20maint: tests: remove duplicate uses of 'my' in PerlCollin Funk-3/+3
* tests/env/env-S.pl (cf): Remove uses of 'my' after the variable has been declared. * tests/factor/factor.pl (t): Likewise. * tests/misc/fold.pl (prog): Remove duplicate assignment.
2025-01-14tests: env-S.pl: unset GNU/Hurd env varsCollin Funk-0/+3
* tests/misc/env-S.pl: Unset LD_ORIGIN_PATH.
2025-01-01maint: update all copyright year number rangesPádraig Brady-5/+5
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-03-22env: add -a,--argv0 to set the first argument passed to execPádraig Brady-0/+10
Using the shell's exec -a feature can be awkward so add support for setting overriding argv[0]. This gives env full control over the arguments it passes. * src/env.c: Accept -a,--argv0 and set argv[0] appropriately. * tests/env/env.sh: Add test cases. * doc/coreutils.texi (env invocation): Describe -a,--argv0. * NEWS: Mention the new feature.
2024-01-01maint: update all copyright year number rangesPádraig Brady-5/+5
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-08-28maint: spelling fixes, including author namesPaul Eggert-2/+2
Most of this just affects commentary and documentations. The only significant behavior change is translating author names via proper_name_lite rather than proper_name_utf8, or not translating them at all. proper_name_lite is good enough for coreutils and avoids the bloat that had coreutils not using Gnulib proper_name. * bootstrap.conf (gnulib_modules): Use propername-lite instead of propername. (XGETTEXT_OPTIONS): Look for proper_name_lite instead of for proper_name_utf8. * cfg.mk (local-checks-to-skip): Remove sc_proper_name_utf8_requires_ICONV, since we no longer use proper_name_utf8. (old_NEWS_hash): Update. (sc_check-I18N-AUTHORS): Remove; no longer needed.
2023-06-19tests: move tests to a directory per utilitySylvestre Ledru-0/+786
* cfg.mk: Adjust syntax check exclusion paths. * tests/local.mk: Adjust for renamed tests.