[debian-edu-commits] r79800 - in branches/wheezy/debian-edu-config: debian testsuite

pere at alioth.debian.org pere at alioth.debian.org
Fri Apr 26 19:07:22 UTC 2013


Author: pere
Date: 2013-04-26 19:07:21 +0000 (Fri, 26 Apr 2013)
New Revision: 79800

Modified:
   branches/wheezy/debian-edu-config/debian/changelog
   branches/wheezy/debian-edu-config/testsuite/network
Log:
Extend network testsuite to detect if BTS report #705900 is
present.

Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog	2013-04-26 18:59:47 UTC (rev 79799)
+++ branches/wheezy/debian-edu-config/debian/changelog	2013-04-26 19:07:21 UTC (rev 79800)
@@ -2,6 +2,8 @@
 
   * ldap-tools/ldap-debian-edu-install: update the instructions for
     bootstrapping LDAP manually.
+  * Extend network testsuite to detect if BTS report #705900 is
+    present.
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Fri, 26 Apr 2013 17:31:43 +0200
 

Modified: branches/wheezy/debian-edu-config/testsuite/network
===================================================================
--- branches/wheezy/debian-edu-config/testsuite/network	2013-04-26 18:59:47 UTC (rev 79799)
+++ branches/wheezy/debian-edu-config/testsuite/network	2013-04-26 19:07:21 UTC (rev 79800)
@@ -110,12 +110,21 @@
 fi
 
 if test "$networked" = true -a "$server" != true ; then
-    # should be able to reach tjener.intern at this poing
+    # should be able to reach tjener.intern at this point
     if ! ping -c1 tjener.intern > /dev/null 2>&1 ; then
         error "Unable to ping tjener.intern."
     fi
 fi
 
+# 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."
+    else
+	error "$p $(hostname) fail."
+    fi
+done
+
 if false && test "$server" = true && have_interface eth0; then
     # Make sure we are the only main server on the net.  Should not be
     # able to reach another tjener.intern




More information about the debian-edu-commits mailing list