[pacman-contrib] [PATCH 2/2] Fix failing pacsort tests

Eli Schwartz eschwartz at archlinux.org
Mon Nov 13 17:14:54 UTC 2017

In commit 42181f85c44de29d40642aeed897e030f30e0559 the pacsort testsuite
was migrated from the pacman codebase, and the PMTEST_UTIL_DIR variable
was changed to PMTEST_BIN_DIR. However, it was only changed in two of
the three places it was needed, and the testsuite could not find the
pacsort binary in the build tree.

As a result, the tests would fail on a system that did not have a
systemwide pacsort install, and would test the systemwide install if
there was one available.
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 2b86c2c..9b06cba 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,6 +13,6 @@ TESTS = \
 TEST_SUITE_LOG = test/test-suite.log
-	PMTEST_BIN_DIR=$(top_builddir)/src/; export PMTEST_UTIL_DIR;
+	PMTEST_BIN_DIR=$(top_builddir)/src/; export PMTEST_BIN_DIR;

More information about the pacman-contrib mailing list