From 19445e42e6ec2eb631c3d18f0cb161548996d787 Mon Sep 17 00:00:00 2001 From: Jeremy Heiner Date: Mon, 11 Nov 2013 06:47:43 -0500 Subject: Add the unit tests for -Qk and -Qkk that are possible now. The -Qk test (001) validates the existence of the package files (which were installed to the filesystem by the framework because the package was added to the "local" db). The -Qkk test (002) does not validate any file's properties - it can only check that the pacman run produces the expected warning message saying that the package lacks an mtree. Further tests will require modifications to the testing framework to allow intentional damage to the filesystem and generating an mtree. Signed-off-by: Jeremy Heiner [Allan] Make warning message detection more specific Signed-off-by: Allan McRae --- test/pacman/tests/TESTS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/pacman/tests/TESTS') diff --git a/test/pacman/tests/TESTS b/test/pacman/tests/TESTS index f52a1f74..a987cff7 100644 --- a/test/pacman/tests/TESTS +++ b/test/pacman/tests/TESTS @@ -88,6 +88,8 @@ TESTS += test/pacman/tests/query007.py TESTS += test/pacman/tests/query010.py TESTS += test/pacman/tests/query011.py TESTS += test/pacman/tests/query012.py +TESTS += test/pacman/tests/querycheck001.py +TESTS += test/pacman/tests/querycheck002.py TESTS += test/pacman/tests/reason001.py TESTS += test/pacman/tests/remove001.py TESTS += test/pacman/tests/remove002.py -- cgit v1.2.3-24-g4f1b