Added a "test_fail" function to 00-hello.test.
authorWayne Davison <wayned@samba.org>
Tue, 15 Jul 2008 05:47:03 +0000 (22:47 -0700)
committerWayne Davison <wayned@samba.org>
Tue, 15 Jul 2008 05:47:03 +0000 (22:47 -0700)
testsuite/00-hello.test

index d4a8475..ecb2634 100644 (file)
@@ -1,5 +1,10 @@
 #! /bin/sh
 
+test_fail() {
+    echo "$@" >&2
+    exit 1
+}
+
 echo $0 running
 
 $RSYNC --version || test_fail '--version output failed'