diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-07-04 16:49:52 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-08-03 18:46:31 +1000 |
commit | 6650c43fcafd144c78349aca9eb80c0ae3886a9d (patch) | |
tree | 57869b4abafe4b76538a9ff3a71850c6a86379d2 /lib/libalpm/group.c | |
parent | 0c5e80c3b42b2fc02e8b800bada7f6bb30a56578 (diff) | |
download | pacman-6650c43fcafd144c78349aca9eb80c0ae3886a9d.tar.xz |
pactest: check for pacman binary before running
Using fakeroot or fakechroot as the command with subprocess.call
prevents the detection and reporting of a missing pacman binary. Some
tests even pass when run with a non-existent binary. Checking manually
allows us to provide a meaningful error message and prevent the false
positives.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'lib/libalpm/group.c')
0 files changed, 0 insertions, 0 deletions