From 7341d0954194149d5659dbd33ea4b2f9f005b54a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 2 Dec 2007 17:24:22 -0600 Subject: Add 4 new pactests to get better code coverage by pactest I started playing around with gcov today and it showed a few places in the code that we don't test at all. This is the start of ensuring that we execute most of the code in our codebase. Signed-off-by: Dan McGee --- pactest/tests/pacman002.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 pactest/tests/pacman002.py (limited to 'pactest/tests/pacman002.py') diff --git a/pactest/tests/pacman002.py b/pactest/tests/pacman002.py new file mode 100644 index 00000000..c0217259 --- /dev/null +++ b/pactest/tests/pacman002.py @@ -0,0 +1,5 @@ +self.description = "Test command line option (--help)" + +self.args = "--help" + +self.addrule("PACMAN_RETCODE=2") -- cgit v1.2.3