Added a "test_fail" function to 00-hello.test.

This commit is contained in:
Wayne Davison committed 2008-07-14 22:47:03 -07:00
1 parent b8993a1ee9
commit f35798a57e
1 file changed
+5
+5
View File
@@ -1,5 +1,10 @@
#! /bin/sh
test_fail() {
echo "$@" >&2
exit 1
}
echo $0 running
$RSYNC --version || test_fail '--version output failed'