X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/7f1b717ac74fa3ce61d8f51375717c5a4d4f75ca..08b7c3ed832fec774257a75152a697cd0a4b7447:/testsuite/00-hello.test diff --git a/testsuite/00-hello.test b/testsuite/00-hello.test index 2aacc288..ecb26348 100644 --- a/testsuite/00-hello.test +++ b/testsuite/00-hello.test @@ -1,5 +1,14 @@ #! /bin/sh +test_fail() { + echo "$@" >&2 + exit 1 +} + echo $0 running -"$rsync_bin" --version || exit 1 +$RSYNC --version || test_fail '--version output failed' + +$RSYNC --info=help || test_fail '--info=help output failed' + +$RSYNC --debug=help || test_fail '--debug=help output failed'