nss-pam-ldapd branch master updated. 0.9.10-10-g62522b9
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd branch master updated. 0.9.10-10-g62522b9
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org, nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd branch master updated. 0.9.10-10-g62522b9
- Date: Sun, 6 Oct 2019 14:33:49 +0200 (CEST)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".
The branch, master has been updated
via 62522b967c99e504ca8ad8a931da4c0f92dee04f (commit)
from a8f4ed81301d3e34b8b4f642b95c47677f947131 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://arthurdejong.org/git/nss-pam-ldapd/commit/?id=62522b967c99e504ca8ad8a931da4c0f92dee04f
commit 62522b967c99e504ca8ad8a931da4c0f92dee04f
Author: Arthur de Jong <arthur@arthurdejong.org>
Date: Sun Oct 6 13:31:29 2019 +0200
Portability improvements to test suite
Some test systems have more local users and some systems prefer IPv4
addresses over IPv6 addresses.
diff --git a/tests/test_nsscmds.sh b/tests/test_nsscmds.sh
index ef489e2..ec86279 100755
--- a/tests/test_nsscmds.sh
+++ b/tests/test_nsscmds.sh
@@ -166,7 +166,7 @@ check "getent group 6100 | sortgroup" << EOM
testgroup:*:6100:arthur,test,testuser4
EOM
-check "groups arthur | sed 's/^.*://'" << EOM
+check "groups arthur | sed 's/^.* *: *//' | sed 's/ debci//'" << EOM
users testgroup testgroup2 grp4 grp5 grp6 grp7 grp8 grp9 grp10 grp11 grp12
grp13 grp14 grp15 grp16 grp17 grp18
EOM
@@ -255,13 +255,14 @@ check "getent hosts 2001:db8::dead:beef" << EOM
2001:db8::dead:beef testhost2
EOM
-check "getent ahosts testhost2" << EOM
-2001:db8::dead:beef STREAM testhost2
-2001:db8::dead:beef DGRAM
-2001:db8::dead:beef RAW
-192.0.2.124 STREAM
+# some systems prefer IPv4, others IPv6
+check "getent ahosts testhost2 | sed 's/ testhost2//' | sort" << EOM
192.0.2.124 DGRAM
192.0.2.124 RAW
+192.0.2.124 STREAM
+2001:db8::dead:beef DGRAM
+2001:db8::dead:beef RAW
+2001:db8::dead:beef STREAM
EOM
check "getent hosts testhost3" << EOM
@@ -274,13 +275,14 @@ check "getent ahosts testhost3" << EOM
2001:db8::feed:c0de RAW
EOM
-check "getent ahosts testhost4" << EOM
-2001:db8::7e27:ac1d STREAM testhost4
-2001:db8::7e27:ac1d DGRAM
-2001:db8::7e27:ac1d RAW
-192.0.2.126 STREAM
+# some systems prefer IPv4, others IPv6
+check "getent ahosts testhost4 | sed 's/ testhost4//' | sort" << EOM
192.0.2.126 DGRAM
192.0.2.126 RAW
+192.0.2.126 STREAM
+2001:db8::7e27:ac1d DGRAM
+2001:db8::7e27:ac1d RAW
+2001:db8::7e27:ac1d STREAM
EOM
fi # end of hosts tests
-----------------------------------------------------------------------
Summary of changes:
tests/test_nsscmds.sh | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
hooks/post-receive
--
nss-pam-ldapd
- nss-pam-ldapd branch master updated. 0.9.10-10-g62522b9,
Commits of the nss-pam-ldapd project