aboutsummaryrefslogtreecommitdiffstats
path: root/tests/nice (follow)
AgeCommit message (Collapse)AuthorFilesLines
2026-01-13tests: nice: ensure large values are clampedoech31-1/+4
* tests/nice/nice.sh: Ensure integers > UINTMAX_MAX are supported. From https://github.com/coreutils/coreutils/pull/170
2026-01-01maint: run 'make update-copyright'Collin Funk2-2/+2
2025-11-09nice: clamp the niceness correctly on GNU/HurdCollin Funk1-10/+40
* NEWS: Mention the bug fix. * src/nice.c (MIN_ADJUSTMENT): Set to 0 on the Hurd with glibc ≤ 2.42. (MAX_ADJUSTMENT): Set to (2 * NZERO - 2) on the Hurd with glibc ≤ 2.42. (main): Clamp the niceness to be greater or equal to MIN_ADJUSTMENT and less than or equal to MAX_ADJUSTMENT. * tests/nice/nice.sh: Add some tests for the Hurd's ranges.
2025-01-20tests: remove use of unprotected 'set'Pádraig Brady1-1/+1
* cfg.mk (sc_prohibit_bare_set): A new syntax check to ensure we protect use of set with '--', so that args beginning with '-' are not interpreted as options, and if no args are present, all existing args are cleared. * tests/cp/symlink-slash.sh: Add -- to unprotected use of set. * tests/ls/ls-time.sh: Likewise. * tests/ls/symlink-slash.sh: Likewise. * tests/mkdir/perm.sh: Likewise. * tests/mkdir/selinux.sh: Likewise. * tests/mkdir/smack-no-root.sh: Likewise. * tests/mkdir/smack-root.sh: Likewise. * tests/mv/part-hardlink.sh: Likewise. * tests/nice/nice.sh: Likewise. * tests/stty/stty-row-col.sh: Likewise.
2025-01-01maint: update all copyright year number rangesPádraig Brady2-2/+2
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 Brady2-2/+2
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-06-19tests: move tests to a directory per utilitySylvestre Ledru2-0/+125
* cfg.mk: Adjust syntax check exclusion paths. * tests/local.mk: Adjust for renamed tests.