[debian-edu-commits] debian-edu/ 01/01: Rewrite LTSP test to use nc instead of telnet. Telnet is not installed by default any more. Depend on netcat to get a nc implementation.
Petter Reinholdtsen
pere at moszumanska.debian.org
Fri Sep 26 12:45:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to branch master
in repository debian-edu-config.
commit fec1e1ca68d6879ebd3dd1612d648d0294cef456
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Fri Sep 26 14:45:17 2014 +0200
Rewrite LTSP test to use nc instead of telnet. Telnet is not installed by default any more. Depend on netcat to get a nc implementation.
---
debian/changelog | 3 +++
debian/control | 1 +
testsuite/ltsp | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 2a49846..95c8510 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,9 @@ debian-edu-config (1.806) UNRELEASED; urgency=low
also on the combined server.
* Add code in run-at-firstboot to commit /etc/ changes in LTSP chroots
using etckeeper.
+ * Rewrite LTSP test to use nc instead of telnet. Telnet is not
+ installed by default any more. Depend on netcat to get a nc
+ implementation.
-- Wolfgang Schweer <wschweer at arcor.de> Thu, 25 Sep 2014 23:56:27 +0200
diff --git a/debian/control b/debian/control
index d481cfd..2908cf1 100644
--- a/debian/control
+++ b/debian/control
@@ -39,6 +39,7 @@ Depends: ${misc:Depends}
, debian-edu-artwork
, education-tasks (>= 0.853)
, net-tools
+ , netcat
, patch
, base-files (>= 5.3)
, python
diff --git a/testsuite/ltsp b/testsuite/ltsp
index 89ddba1..aba70fd 100755
--- a/testsuite/ltsp
+++ b/testsuite/ltsp
@@ -95,7 +95,7 @@ if echo "$PROFILE" | grep -q Thin-Client-Server ; then
# Verify that the default LTSP configuration is available in LDAP.
# Bug somewhere caused it to only accept connections from
# localhost.
- if telnet "$(uname -n)" 9571 | grep -q ^session: ; then
+ if nc "$(uname -n)" 9571 | grep -q ^session: ; then
echo "success: $0: able to connect to ldinfod"
else
echo "error: $0: not able to connect to ldinfod"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git
More information about the debian-edu-commits
mailing list