[debian-edu-commits] r79801 - branches/wheezy/debian-edu-config/testsuite

pere at alioth.debian.org pere at alioth.debian.org
Fri Apr 26 19:12:08 UTC 2013


Author: pere
Date: 2013-04-26 19:12:08 +0000 (Fri, 26 Apr 2013)
New Revision: 79801

Modified:
   branches/wheezy/debian-edu-config/testsuite/network
Log:
Fix typo in test.

Modified: branches/wheezy/debian-edu-config/testsuite/network
===================================================================
--- branches/wheezy/debian-edu-config/testsuite/network	2013-04-26 19:07:21 UTC (rev 79800)
+++ branches/wheezy/debian-edu-config/testsuite/network	2013-04-26 19:12:08 UTC (rev 79801)
@@ -2,6 +2,9 @@
 #
 # Report the current network status
 
+success() {
+    echo "success: $0: $*"
+}
 error() {
     echo "error: $0: $*"
 }
@@ -119,7 +122,7 @@
 # check if <URL: http://bugs.debian.org/705900 > is present.
 for p in ping ping6; do 
     if $p -c3 $(hostname) > /dev/null 2>&1 ; then
-	info "$p $(hostname) work."
+	sucess "$p $(hostname) work."
     else
 	error "$p $(hostname) fail."
     fi




More information about the debian-edu-commits mailing list