X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/06464f55e26e1f26e10c04f4a11a4d85fadbd5f7..d39d60a129b82d0a2c99104538b2421de07dd67c:/testsuite/00-hello.test diff --git a/testsuite/00-hello.test b/testsuite/00-hello.test index d7774bb0..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 --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'