summaryrefslogtreecommitdiff
path: root/check/check-conflicts
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-09-29 08:50:57 -0700
committerDan Nicholson <dbn.lists@gmail.com>2012-09-29 08:50:57 -0700
commit397d414a6a6db328c610b0691fd0ce79e081eb99 (patch)
tree79b637095f7146e0dbe9746ceeac1f67a42eb401 /check/check-conflicts
parente68baa746395f4d5c7b8ab16093c044026b2d1fd (diff)
downloadpkg-config-397d414a6a6db328c610b0691fd0ce79e081eb99.tar.gz
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 "$@".
Diffstat (limited to 'check/check-conflicts')
-rwxr-xr-xcheck/check-conflicts4
1 files changed, 1 insertions, 3 deletions
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