Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b8993a1
)
Added a "test_fail" function to 00-hello.test.
author
Wayne Davison
<wayned@samba.org>
Tue, 15 Jul 2008 05:47:03 +0000
(22:47 -0700)
committer
Wayne Davison
<wayned@samba.org>
Tue, 15 Jul 2008 05:47:03 +0000
(22:47 -0700)
testsuite/00-hello.test
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/00-hello.test
b/testsuite/00-hello.test
index
d4a8475
..
ecb2634
100644
(file)
--- 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'