From: Felix Fietkau Date: Tue, 25 Nov 2014 10:50:25 +0000 (+0100) Subject: tests: use uci instead of uci-static X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=471dcf63d6ed4689cfd56f2648e6d1b48f46f14c;p=oweals%2Fuci.git tests: use uci instead of uci-static Signed-off-by: Felix Fietkau --- diff --git a/test/tests.sh b/test/tests.sh index 95be84c..0afccf0 100644 --- a/test/tests.sh +++ b/test/tests.sh @@ -6,13 +6,13 @@ CHANGES_DIR="/tmp/.uci" TMP_DIR=${TESTS_DIR}"/tmp" FULL_SUITE=${TESTS_DIR}"/full_suite.sh" -UCI_STATIC="../uci-static" -[ -x $UCI_STATIC ] || { +UCI_BIN="../uci" +[ -x $UCI_BIN ] || { echo "uci-static is not present." return 1 } -UCI="${UCI_STATIC} -c ${CONFIG_DIR} -p ${CHANGES_DIR}" -UCI_Q="${UCI_STATIC} -c ${CONFIG_DIR} -p ${CHANGES_DIR} -q" +UCI="${UCI_BIN} -c ${CONFIG_DIR} -p ${CHANGES_DIR}" +UCI_Q="${UCI_BIN} -c ${CONFIG_DIR} -p ${CHANGES_DIR} -q" REF_DIR="./references" SCRIPTS_DIR="./tests.d"