diff --git a/scripts/mosquitto_test b/scripts/mosquitto_test deleted file mode 100755 index d5a504134..000000000 --- a/scripts/mosquitto_test +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# -*- tab-width:4;indent-tabs-mode:nil -*- -# ex: ts=4 sw=4 et - -# slimple publish -mosquitto_pub -t xxx/yyy -m hello -if [ "$?" == 0 ]; then - echo "[Success]: slimple publish" -else - echo "[Failure]: slimple publish" -fi - -# publish will willmsg -mosquitto_pub -q 1 -t a/b/c -m hahah -u test -P public --will-topic /will --will-payload willmsg --will-qos 1 -if [ "$?" == 0 ]; then - echo "[Success]: publish with willmsg" -else - echo "[Failure]: publish with willmsg" -fi