mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-23 06:14:18 -04:00
Added a "test_fail" function to 00-hello.test.
This commit is contained in:
1 parent
b8993a1ee9
commit
f35798a57e
1 file changed
+5
@@ -1,5 +1,10 @@
|
||||
#! /bin/sh
|
||||
|
||||
test_fail() {
|
||||
echo "$@" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo $0 running
|
||||
|
||||
$RSYNC --version || test_fail '--version output failed'
|
||||
|
||||
Reference in new issue
Block a user