From: oech3 <79379754+oech3@users.noreply.github.com> Date: Tue, 16 Jun 2026 15:34:04 +0000 (+0900) Subject: tests: nice: add test for --adjustment long option X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd649cca23f30646a3856b47cd1c7afd1aeb6db3;p=thirdparty%2Fcoreutils.git tests: nice: add test for --adjustment long option * tests/nice/nice.sh: Ensure (abbreviated) long option is supported. https://github.com/coreutils/coreutils/pull/296 --- diff --git a/tests/nice/nice.sh b/tests/nice/nice.sh index 3badb01861..cef49d4b8b 100755 --- a/tests/nice/nice.sh +++ b/tests/nice/nice.sh @@ -106,6 +106,8 @@ if test x$(nice -n -1 nice 2> /dev/null) = x0 ; then mv err exp || framework_failure_ nice --1 true 2> err || fail=1 compare exp err || fail=1 + nice --adj -1 true 2> err || fail=1 + compare exp err || fail=1 # Failure to write advisory message is fatal. Buggy through coreutils 8.0. if test "$(uname)" != GNU && test -w /dev/full && test -c /dev/full; then returns_ 125 nice -n -1 nice > out 2> /dev/full || fail=1