[debian-edu-commits] debian-edu/ 04/08: Adjust testsuite/ltsp and testsuite/ltspwebserver as /etc/firefox-esr/cert_override.txt is no longer useful.
Wolfgang Schweer
schweer-guest at moszumanska.debian.org
Mon Aug 8 16:47:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
schweer-guest pushed a commit to branch schweer-foo
in repository debian-edu-config.
commit 45a0b74420f973c37315e569b768a3e37436ab4a
Author: Wolfgang Schweer <wschweer at arcor.de>
Date: Wed Jul 20 15:19:10 2016 +0200
Adjust testsuite/ltsp and testsuite/ltspwebserver as /etc/firefox-esr/cert_override.txt is no longer useful.
(cherry picked from commit 8758c19cd2f3b95e8ce96913ce2c309d575ed473)
---
testsuite/ltsp | 5 ++---
testsuite/webserver | 15 +++++++--------
2 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/testsuite/ltsp b/testsuite/ltsp
index 6c5c54d..502e739 100755
--- a/testsuite/ltsp
+++ b/testsuite/ltsp
@@ -58,12 +58,11 @@ if echo "$PROFILE" | grep -q Thin-Client-Server ; then
error "Missing $chroot/etc/debian-edu/config"
fi
- for path in /etc/ldap/ssl/ldap-server-pubkey.pem \
- /etc/firefox-esr/profile/cert_override.txt ; do
+ for path in /etc/ldap/ssl/ldap-server-pubkey.pem ; do
if cmp -s $path $chroot$path ; then
success "$path is identical inside and outside LTSP"
else
- error "$path differ inside and outside LTSP"
+ error "$path is different inside and outside LTSP"
fi
done
diff --git a/testsuite/webserver b/testsuite/webserver
index 4bfa489..45bd1f6 100755
--- a/testsuite/webserver
+++ b/testsuite/webserver
@@ -16,15 +16,14 @@ else
fi
skeloverride=/etc/skel/.mozilla/firefox/debian-edu.default/cert_override.txt
-if [ -e "$skeloverride" ] && [ -h "$skeloverride" ] ; then
- echo "error: $0: Found symlink in $skeloverride."
-fi
-
-overridefile=/etc/firefox-esr/profile/cert_override.txt
-if [ ! -f "$overridefile" ] ; then
- echo "error: $0: Missing $overridefile."
+if [ ! -f "$skeloverride" ] ; then
+ echo "error: $0: Missing $skeloverride."
else
- echo "success: $0: Found $overridefile."
+ if [ -h "$skeloverride" ] ; then
+ echo "error: $0: Found $skeloverride as symlink."
+ else
+ echo "success: $0: Found $skeloverride."
+ fi
fi
# Only Main-Server profile provide webserver
--
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