Skip to content

Commit 1e1a318

Browse files
[travis] Install gssntlmssp during testing
This lets us test that the NTLM mechanism behaves correctly and properly test #148.
1 parent 3826b71 commit 1e1a318

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis/lib-setup.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ setup::debian::install() {
2020
if [ x"$KRB5_VER" = "xheimdal" ]; then
2121
apt-get -y install heimdal-dev
2222
else
23-
apt-get -y install krb5-{user,kdc,admin-server,multidev} libkrb5-dev
23+
apt-get -y install krb5-{user,kdc,admin-server,multidev} libkrb5-dev \
24+
gss-ntlmssp
2425
fi
2526

2627
apt-get -y install gcc virtualenv python$IS3-{virtualenv,dev} cython$IS3
@@ -55,7 +56,8 @@ setup::fedora::install() {
5556
}
5657

5758
setup::rh::install() {
58-
setup::rh::yuminst krb5-{devel,libs,server,workstation} which gcc findutils
59+
setup::rh::yuminst krb5-{devel,libs,server,workstation} \
60+
which gcc findutils gssntlmssp
5961

6062
if [ -f /etc/fedora-release ]; then
6163
setup::fedora::install

gssapi/tests/test_raw.py

-2
Original file line numberDiff line numberDiff line change
@@ -668,10 +668,8 @@ def test_rfc5587(self):
668668
known_mech_attrs = inquire_out.known_mech_attrs
669669

670670
mech_attrs.should_be_a(set)
671-
mech_attrs.shouldnt_be_empty()
672671

673672
known_mech_attrs.should_be_a(set)
674-
known_mech_attrs.shouldnt_be_empty()
675673

676674
# Verify that we get data for every available
677675
# attribute. Testing the contents of a few known

0 commit comments

Comments
 (0)