From f7cafd65feda94b6f21c6b6e36e2bf258e2563d3 Mon Sep 17 00:00:00 2001 From: Neutron Soutmun Date: Fri, 4 Apr 2014 10:24:22 +0700 Subject: ipset: Pass IPSET_BIN to test scripts to change binary location In the "as-installed" package testing situation, the test scripts should invokes the system installed "ipset" binary. Therefore, the IPSET_BIN could be passed to change the binary location. IPSET_BIN=/sbin/ipset ./runtest.sh The test scripts run fine in build source tree without IPSET_BIN. Signed-off-by: Neutron Soutmun Signed-off-by: Jozsef Kadlecsik --- tests/resizen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 tests/resizen.sh (limited to 'tests/resizen.sh') diff --git a/tests/resizen.sh b/tests/resizen.sh old mode 100644 new mode 100755 index 9ceee88..9322bd2 --- a/tests/resizen.sh +++ b/tests/resizen.sh @@ -3,7 +3,7 @@ # set -x set -e -ipset=../src/ipset +ipset=${IPSET_BIN:-../src/ipset} case "$1" in -4) -- cgit v1.2.3