From: Wayne Davison Date: Tue, 15 Jul 2008 05:47:03 +0000 (-0700) Subject: Added a "test_fail" function to 00-hello.test. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/f35798a57ed891efe18fb171e7004d77fcf51790?hp=b8993a1ee98880dce130d2c47da4f5591b986e38 Added a "test_fail" function to 00-hello.test. --- 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'