]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
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 d4a84752cde955c342d953319ae82640efd6bc4c..ecb263489e4a87bc2073fffda856078d2262a136 100644 (file)
@@ -1,5 +1,10 @@
 #! /bin/sh
 
+test_fail() {
+    echo "$@" >&2
+    exit 1
+}
+
 echo $0 running
 
 $RSYNC --version || test_fail '--version output failed'