summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/backup.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-07-04 22:49:52 +0200
committerAllan McRae <allan@archlinux.org>2014-08-03 10:46:31 +0200
commit6650c43fcafd144c78349aca9eb80c0ae3886a9d (patch)
tree57869b4abafe4b76538a9ff3a71850c6a86379d2 /lib/libalpm/backup.c
parent0c5e80c3b42b2fc02e8b800bada7f6bb30a56578 (diff)
downloadpacman-6650c43fcafd144c78349aca9eb80c0ae3886a9d.tar.gz
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/backup.c')
0 files changed, 0 insertions, 0 deletions