From aabb7c3cddf5e97d1b1ebb3548664f1af85c1392 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Tue, 28 Jan 2014 21:40:37 -0500 Subject: pacman: use exit status 0 for --help and --version The user requesting usage or version information is not an error. Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- test/pacman/tests/pacman001.py | 2 +- test/pacman/tests/pacman002.py | 2 +- test/pacman/tests/pacman003.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/pacman/tests/pacman001.py b/test/pacman/tests/pacman001.py index d467e3f2..1d3a36a9 100644 --- a/test/pacman/tests/pacman001.py +++ b/test/pacman/tests/pacman001.py @@ -2,4 +2,4 @@ self.description = "Test command line option (--version)" self.args = "--version" -self.addrule("PACMAN_RETCODE=2") +self.addrule("PACMAN_RETCODE=0") diff --git a/test/pacman/tests/pacman002.py b/test/pacman/tests/pacman002.py index c0217259..2add614e 100644 --- a/test/pacman/tests/pacman002.py +++ b/test/pacman/tests/pacman002.py @@ -2,4 +2,4 @@ self.description = "Test command line option (--help)" self.args = "--help" -self.addrule("PACMAN_RETCODE=2") +self.addrule("PACMAN_RETCODE=0") diff --git a/test/pacman/tests/pacman003.py b/test/pacman/tests/pacman003.py index b5275943..a80e2d61 100644 --- a/test/pacman/tests/pacman003.py +++ b/test/pacman/tests/pacman003.py @@ -2,4 +2,4 @@ self.description = "Test command line option (-S --help)" self.args = "-S --help" -self.addrule("PACMAN_RETCODE=2") +self.addrule("PACMAN_RETCODE=0") -- cgit v1.2.3-70-g09d2