aboutsummaryrefslogtreecommitdiffstats
path: root/tests/env (follow)
AgeCommit message (Collapse)AuthorFilesLines
2025-09-19tests: env: skip a few tests if LD_LIBRARY_PATH is setCollin Funk2-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 Funk1-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 Funk1-0/+3
* tests/misc/env-S.pl: Unset LD_ORIGIN_PATH.
2025-01-01maint: update all copyright year number rangesPádraig Brady5-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 Brady1-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 Brady5-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 Eggert1-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 Ledru5-0/+786
* cfg.mk: Adjust syntax check exclusion paths. * tests/local.mk: Adjust for renamed tests.