tests: use uci instead of uci-static
authorFelix Fietkau <nbd@openwrt.org>
Tue, 25 Nov 2014 10:50:25 +0000 (11:50 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 25 Nov 2014 10:50:25 +0000 (11:50 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
test/tests.sh

index 95be84c6c7875458c9c2ec59251920ba4d377c11..0afccf0c5a87017fa11430ca45627eccd3454c54 100644 (file)
@@ -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"