[pacman-dev] [PATCH 1/6] pmdb: include directories in package file lists
Needed for checking directories with PKG_FILES.
Signed-off-by: Andrew Gregory
This prevents an exception in the event backup entries are not in the
correct format and brings the test in line with alpm's backup parsing
which splits on the last tab rather than the first.
Signed-off-by: Andrew Gregory
Signed-off-by: Andrew Gregory
--confirm cancels the effect of a previous --noconfirm.
This makes it easier for scripts to default to --noconfirm
but allow users to override it.
Signed-off-by: Andrew Gregory
Adds a cmd property to tests (defaults to pacman) which is resolved
using directories specified with --bindir (defaults to PATH). The
ability to manually specify a particular binary is preserved in order to
allow running individual tests with differently named binaries such as
lt-pacman.
Signed-off-by: Andrew Gregory
Signed-off-by: Andrew Gregory
On 08/10/14 16:39, Andrew Gregory wrote:
Signed-off-by: Andrew Gregory
make PY_LOG_FLAGS=--valgrind check not ok 9 - FILE_EMPTY=var/log/valgrind How do I run this individually to get the contents?
On 10/13/14 at 01:32pm, Allan McRae wrote:
On 08/10/14 16:39, Andrew Gregory wrote:
Signed-off-by: Andrew Gregory
make PY_LOG_FLAGS=--valgrind check
not ok 9 - FILE_EMPTY=var/log/valgrind
How do I run this individually to get the contents?
test/pacman/pactest.py -p scripts/pacman-db-upgrade --valgrind --keep-root test/scripts/pacman-db-upgrade-v9.py apg
On 08/10/14 16:39, Andrew Gregory wrote:
Signed-off-by: Andrew Gregory
Hi Andrew, "make distcheck" fails with this patch: make[5]: Nothing to be done for 'test/scripts/pacman-db-upgrade-v9.log'. fatal: making test/test-suite.log: failed to create test/scripts/pacman-db-upgrade-v9.trs fatal: making test/test-suite.log: failed to create test/scripts/pacman-db-upgrade-v9.log Makefile:1046: recipe for target 'test/test-suite.log' failed make[4]: *** [test/test-suite.log] Error 1 Makefile:1152: recipe for target 'check-TESTS' failed make[3]: *** [check-TESTS] Error 2 Makefile:1404: recipe for target 'check-am' failed make[2]: *** [check-am] Error 2 Makefile:932: recipe for target 'check-recursive' failed make[1]: *** [check-recursive] Error 1 Makefile:1322: recipe for target 'distcheck' failed make: *** [distcheck] Error 1
Signed-off-by: Andrew Gregory
Signed-off-by: Andrew Gregory
--config does not respect root, causing pacman-db-upgrade to read the
local pacman.conf rather than the one in the test root.
Also add a rule to ensure the ALPM_DB_VERSION file is actually being
created.
Signed-off-by: Andrew Gregory
Signed-off-by: Andrew Gregory
participants (2)
-
Allan McRae
-
Andrew Gregory