nss-pam-ldapd branch master updated. 0.9.4-1-g9516479
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd branch master updated. 0.9.4-1-g9516479
- 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
- Subject: nss-pam-ldapd branch master updated. 0.9.4-1-g9516479
- Date: Thu, 12 Jun 2014 23:52:09 +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 9516479505bcc750b1e52ff40a96720496d48f61 (commit)
from b3cf0aa256c43c601b96eee76aa08ecca29629a0 (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 -----------------------------------------------------------------
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=9516479505bcc750b1e52ff40a96720496d48f61
commit 9516479505bcc750b1e52ff40a96720496d48f61
Author: Arthur de Jong <arthur@arthurdejong.org>
Date: Thu Jun 12 22:28:21 2014 +0200
Use other IP range for tests
This uses IP addresses from the RFC 5737 TEST-NET-1 range that is meant
for use in documentation. This avoids issues with running the tests
environments that also use the 10.0.0.0/8 range.
diff --git a/tests/test.ldif b/tests/test.ldif
index e375c5b..d032b22 100644
--- a/tests/test.ldif
+++ b/tests/test.ldif
@@ -40174,7 +40174,7 @@ objectClass: ieee802Device
objectClass: device
cn: testhost
cn: testhostalias
-ipHostNumber: 10.0.0.1
+ipHostNumber: 192.0.2.123
macAddress: 0:18:8a:54:1a:8e
dn: cn=testhost2,ou=hosts,dc=test,dc=tld
@@ -40193,7 +40193,7 @@ dn: cn=testnet,ou=networks,dc=test,dc=tld
objectClass: top
objectClass: ipNetwork
cn: testnet
-ipNetworkNumber: 10.0.0.0
+ipNetworkNumber: 192.0.2.0
dn: ou=protocols,dc=test,dc=tld
objectClass: top
diff --git a/tests/test_nsscmds.sh b/tests/test_nsscmds.sh
index a86d9d8..5cd54c3 100755
--- a/tests/test_nsscmds.sh
+++ b/tests/test_nsscmds.sh
@@ -120,7 +120,7 @@ EOM
# get entry by ip address
# this does not currently work, but maybe it should
-#check "getent ethers 10.0.0.1" << EOM
+#check "getent ethers 192.0.2.123" << EOM
#0:18:8a:54:1a:8e testhost
#EOM
@@ -229,24 +229,24 @@ then
echo "test_nsscmds.sh: testing hosts..."
check "getent hosts testhost" << EOM
-10.0.0.1 testhost testhostalias
+192.0.2.123 testhost testhostalias
EOM
check "getent hosts testhostalias" << EOM
-10.0.0.1 testhost testhostalias
+192.0.2.123 testhost testhostalias
EOM
# check hostname with different case
check "getent hosts TESTHOST" << EOM
-10.0.0.1 testhost testhostalias
+192.0.2.123 testhost testhostalias
EOM
-check "getent hosts 10.0.0.1" << EOM
-10.0.0.1 testhost testhostalias
+check "getent hosts 192.0.2.123" << EOM
+192.0.2.123 testhost testhostalias
EOM
check "getent hosts | grep testhost" << EOM
-10.0.0.1 testhost testhostalias
+192.0.2.123 testhost testhostalias
EOM
# TODO: add more tests for IPv6 support
@@ -277,20 +277,20 @@ then
echo "test_nsscmds.sh: testing networks..."
check "getent networks testnet" << EOM
-testnet 10.0.0.0
+testnet 192.0.2.0
EOM
# check network name with different case
check "getent networks TESTNET" << EOM
-testnet 10.0.0.0
+testnet 192.0.2.0
EOM
-check "getent networks 10.0.0.0" << EOM
-testnet 10.0.0.0
+check "getent networks 192.0.2.0" << EOM
+testnet 192.0.2.0
EOM
check "getent networks | grep testnet" << EOM
-testnet 10.0.0.0
+testnet 192.0.2.0
EOM
fi # end of networks tests
-----------------------------------------------------------------------
Summary of changes:
tests/test.ldif | 4 ++--
tests/test_nsscmds.sh | 24 ++++++++++++------------
2 files changed, 14 insertions(+), 14 deletions(-)
hooks/post-receive
--
nss-pam-ldapd
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd branch master updated. 0.9.4-1-g9516479,
Commits of the nss-pam-ldapd project