From: David Sommerseth Date: Sat, 16 Nov 2013 10:23:43 +0000 (+0100) Subject: t_client.sh: Write errors to stderr and document requirements X-Git-Tag: v2.4_alpha1~527 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebcd7549ac73a2d649afd0629cb5a7fe0e02b8f7;p=thirdparty%2Fopenvpn.git t_client.sh: Write errors to stderr and document requirements Signed-off-by: David Sommerseth Acked-by: Matthias Andree Acked-by: Gert Doering Message-Id: <1384597423-11136-1-git-send-email-dazo@users.sourceforge.net> URL: http://article.gmane.org/gmane.network.openvpn.devel/7984 Signed-off-by: Gert Doering --- diff --git a/INSTALL b/INSTALL index 61dc9758b..2ef7904ba 100644 --- a/INSTALL +++ b/INSTALL @@ -87,6 +87,10 @@ OPTIONAL (for developers only): -- available from http://www.gnu.org/software/software.html (2) Dmalloc library -- available from http://dmalloc.com/ + (3) If using t_client.sh test framework, fping/fping6 is needed + -- Available from http://www.fping.org/ + Note: t_client.sh needs an external configured OpenVPN server. + See t_client.rc-sample for more info. ************************************************************************* diff --git a/tests/t_client.sh.in b/tests/t_client.sh.in index af12e2d8a..b13c802f9 100755 --- a/tests/t_client.sh.in +++ b/tests/t_client.sh.in @@ -27,12 +27,12 @@ fi # Check for external dependencies which fping > /dev/null if [ $? -ne 0 ]; then - echo "$0: fping is not available in \$PATH" + echo "$0: fping is not available in \$PATH" >&2 exit 77 fi which fping6 > /dev/null if [ $? -ne 0 ]; then - echo "$0: fping6 is not available in \$PATH" + echo "$0: fping6 is not available in \$PATH" >&2 exit 77 fi