Added a "test_fail" function to 00-hello.test.
[rsync/rsync.git] / 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'