public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: semanage-permissive-d-problems: argparse standard error status code is 2
@ 2026-09-11 13:17 Petr Lautrbach
0 siblings, 0 replies; only message in thread
From: Petr Lautrbach @ 2026-09-11 13:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 355f5489932c28d53bb56996ce805fe2d0e64327
Author : Petr Lautrbach <plautrba@redhat.com>
Date : 2018-12-05T11:56:15+01:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/355f5489932c28d53bb56996ce805fe2d0e64327?branch=pr775-checkpolicy-revdeps
Log:
semanage-permissive-d-problems: argparse standard error status code is 2
https://docs.python.org/3/library/argparse.html#exiting-methods
---
diff --git a/policycoreutils/semanage-permissive-d-problems/runtest.sh b/policycoreutils/semanage-permissive-d-problems/runtest.sh
index 61ccc4f..67a5b3e 100755
--- a/policycoreutils/semanage-permissive-d-problems/runtest.sh
+++ b/policycoreutils/semanage-permissive-d-problems/runtest.sh
@@ -73,7 +73,7 @@ rlJournalStart
rlPhaseEnd
rlPhaseStartTest
- rlRun -s "semanage permissive -d" 1
+ rlRun -s "semanage permissive -d" 1,2
rlAssertNotGrep 'traceback' $rlRun_LOG -iEq
rlAssertGrep 'error: the following argument is required: type' $rlRun_LOG -iEq
rm -f $rlRun_LOG
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 13:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:17 [tests/selinux] pr775-checkpolicy-revdeps: semanage-permissive-d-problems: argparse standard error status code is 2 Petr Lautrbach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox