diff options
author | Jeremy Heiner <scalaprotractor@gmail.com> | 2013-11-11 12:47:43 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-01-06 05:38:49 +0100 |
commit | 19445e42e6ec2eb631c3d18f0cb161548996d787 (patch) | |
tree | 42d1d049e6481b8a444e59b260d637f0c2243680 /src/common/util-common.c | |
parent | 6f468c2465f4bfdcf4779c920899a960857c7361 (diff) | |
download | pacman-19445e42e6ec2eb631c3d18f0cb161548996d787.tar.gz pacman-19445e42e6ec2eb631c3d18f0cb161548996d787.tar.xz |
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 <ScalaProtractor at gmail.com>
[Allan] Make warning message detection more specific
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/common/util-common.c')
0 files changed, 0 insertions, 0 deletions