diff options
Diffstat (limited to 'tests/aux/in.test')
-rwxr-xr-x | tests/aux/in.test | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/tests/aux/in.test b/tests/aux/in.test index 4a98763..1fae034 100755 --- a/tests/aux/in.test +++ b/tests/aux/in.test @@ -5,2 +5,4 @@ IFS=' ' +: ${PIESCTL:=piesctl} +PIESCTL="$PIESCTL --no-netrc${PIES_CTLSOCK:+ --url=}$PIES_CTLSOCK" while read COMMAND ARG @@ -9,8 +11,13 @@ do case $COMMAND in - stop) if [ -n "$STOPCMD" ]; then - echo "STOP" - $STOPCMD - else - echo "OK $COMMAND $ARG" - fi + stop) echo "OK shutting down" + $PIESCTL shutdown + ;; + enable) + $PIESCTL start component ${ARG:?component name not supplied} + ;; + sleep) + sleep ${ARG:-1} + ;; + touch) + touch ${ARG:?touch argument required} ;; |