diff options
author | Pádraig Brady <P@draigBrady.com> | 2022-08-27 19:17:27 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2022-08-27 19:18:29 +0100 |
commit | d2c5376f0535defc1619a499af9e3949f2f01946 (patch) | |
tree | 6d62d48233f7455f3bf410d44074bacd22f381ed /tests | |
parent | 708ae170c987dab83273cb885496e1a8a90233e8 (diff) | |
download | coreutils-d2c5376f0535defc1619a499af9e3949f2f01946.tar.gz |
tests: fix tests after recent runcon change
Following commit v9.1-49-gea3ee6df2
* tests/misc/invalid-opt.pl: Map runcon failure status to 125.
* tests/misc/usage_vs_getopt.sh: Likewise.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/misc/invalid-opt.pl | 1 | ||||
-rwxr-xr-x | tests/misc/usage_vs_getopt.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/invalid-opt.pl b/tests/misc/invalid-opt.pl index 76fa04644..22a0b4121 100755 --- a/tests/misc/invalid-opt.pl +++ b/tests/misc/invalid-opt.pl @@ -34,6 +34,7 @@ my %exit_status = expr => 0, nice => 125, nohup => 125, + runcon => 125, sort => 2, stdbuf => 125, test => 0, diff --git a/tests/misc/usage_vs_getopt.sh b/tests/misc/usage_vs_getopt.sh index a489accb2..59e9b093e 100755 --- a/tests/misc/usage_vs_getopt.sh +++ b/tests/misc/usage_vs_getopt.sh @@ -26,7 +26,7 @@ checkprg () { rcexp=1 case "$prg" in dir | ls | printenv | sort | tty | vdir ) rcexp=2 ;; - env | chroot | nice | nohup | stdbuf | timeout ) rcexp=125 ;; + env | chroot | nice | nohup | runcon | stdbuf | timeout ) rcexp=125 ;; esac # Write the pattern for a long, unknown option into a pattern file. o='thisoptiondoesnotexist' |