summaryrefslogtreecommitdiffstats
path: root/dyndns-update/test/test.sh
blob: f7c6dfd4cd359532ed04d5d85c9194fdbba579ca (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
basedir="$(dirname "$0")"
[ "$(echo "$basedir" | cut -c1)" = '/' ] || basedir="$PWD/$basedir"


QUERY_STRING="domain=mydomain&user=me&pw=123&ip4=127.0.0.1&ip6=1::&ip6pfx=1::&dualstack=1" \
	"$basedir/../dyndns-update" -c "$basedir/test.conf" || exit 1
echo
cat /tmp/test_mydomain
bues.ch cgit interface