From 397d414a6a6db328c610b0691fd0ce79e081eb99 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Sat, 29 Sep 2012 08:50:57 -0700 Subject: check: Pass args to test function instead of setting in variable The run_test shell function was running pkg-config with arguments stored in an environment variable. This has problems when trying to pass shell special characters with the proper escaping. Instead, pass the arguments to the test where they can maintain correct formatting through use of the special variable "$@". --- check/check-conflicts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'check/check-conflicts') diff --git a/check/check-conflicts b/check/check-conflicts index 7f160db..372c2a6 100755 --- a/check/check-conflicts +++ b/check/check-conflicts @@ -4,8 +4,6 @@ set -e . ${srcdir}/common -ARGS="--libs conflicts-test" RESULT="-L/public-dep/lib -lpublic-dep" - -run_test +run_test --libs conflicts-test -- cgit v1.2.1