summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-07-14 22:47:03 -0700
committerWayne Davison <wayned@samba.org>2008-07-14 22:47:03 -0700
commitf35798a57ed891efe18fb171e7004d77fcf51790 (patch)
treec9735ce7af77151b49688becae75d1289407ff37
parentb8993a1ee98880dce130d2c47da4f5591b986e38 (diff)
downloadrsync-f35798a57ed891efe18fb171e7004d77fcf51790.tar.gz
rsync-f35798a57ed891efe18fb171e7004d77fcf51790.tar.bz2
rsync-f35798a57ed891efe18fb171e7004d77fcf51790.zip
Added a "test_fail" function to 00-hello.test.
-rw-r--r--testsuite/00-hello.test5
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'