[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: nice: add test for --adjustment long option
|
From: |
Pádraig Brady |
|
Subject: |
[PATCH] tests: nice: add test for --adjustment long option |
|
Date: |
Fri, 19 Jun 2026 15:41:43 +0100 |
From: oech3 <79379754+oech3@users.noreply.github.com>
* tests/nice/nice.sh: Ensure (abbreviated) long option is supported.
https://github.com/coreutils/coreutils/pull/296
---
tests/nice/nice.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/nice/nice.sh b/tests/nice/nice.sh
index 3badb0186..cef49d4b8 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
--
2.54.0
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] tests: nice: add test for --adjustment long option,
Pádraig Brady <=