diff options
author | Wayne Davison <wayned@samba.org> | 2008-07-14 22:47:03 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-07-14 22:47:03 -0700 |
commit | f35798a57ed891efe18fb171e7004d77fcf51790 (patch) | |
tree | c9735ce7af77151b49688becae75d1289407ff37 /testsuite | |
parent | b8993a1ee98880dce130d2c47da4f5591b986e38 (diff) | |
download | rsync-f35798a57ed891efe18fb171e7004d77fcf51790.tar.gz rsync-f35798a57ed891efe18fb171e7004d77fcf51790.tar.bz2 rsync-f35798a57ed891efe18fb171e7004d77fcf51790.zip |
Added a "test_fail" function to 00-hello.test.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/00-hello.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/00-hello.test b/testsuite/00-hello.test index d4a84752..ecb26348 100644 --- a/testsuite/00-hello.test +++ b/testsuite/00-hello.test @@ -1,5 +1,10 @@ #! /bin/sh +test_fail() { + echo "$@" >&2 + exit 1 +} + echo $0 running $RSYNC --version || test_fail '--version output failed' |