#!/bin/sh
-. ./testlib.sh
+. "${0%/*}/testlib.sh"
# Initialize one node
(sleep 0.1; kill \$pid) &
EOF
+cat >$d1/tinc-up.cmd <<EOF
+start /min ../$tinc $c1 stop
+EOF
+
# Test tincd command line options that should work
$tincd $c1 $r1 -D
# Test tinc command line options that should not work
+$tinc $c1 -n foo get somethingreallyunknown && exit 1 || true
$tinc $c1 --net && exit 1 || true
$tinc $c1 --net get name && exit 1 || true
$tinc $c1 foo && exit 1 || true