diff --git a/tests/scripts/iscloudconnected.sh b/tests/scripts/iscloudconnected.sh new file mode 100755 index 00000000..b422dc9f --- /dev/null +++ b/tests/scripts/iscloudconnected.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +if [ -z $1 ]; then + echo "usage $0 host" +else + (echo '{"id":1, "method":"JSONRPC.IsCloudConnected"}'; sleep 1) | nc $1 2222 +fi