diff options
Diffstat (limited to 'Use-GSSAPI-fallback-skiptest.patch')
-rw-r--r-- | Use-GSSAPI-fallback-skiptest.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Use-GSSAPI-fallback-skiptest.patch b/Use-GSSAPI-fallback-skiptest.patch new file mode 100644 index 0000000..b9d2d6f --- /dev/null +++ b/Use-GSSAPI-fallback-skiptest.patch @@ -0,0 +1,35 @@ +From 487228e55146bfb258379dd60950bf2727921c92 Mon Sep 17 00:00:00 2001 +From: Robbie Harwood <rharwood@redhat.com> +Date: Wed, 1 Mar 2017 17:46:22 -0500 +Subject: [PATCH] Use GSSAPI fallback skiptest + +Also-authored-by: Matt Rogers <mrogers@redhat.com> +[rharwood@redhat.com: Adjusted patch to apply] +--- + src/appl/gss-sample/Makefile.in | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/src/appl/gss-sample/Makefile.in b/src/appl/gss-sample/Makefile.in +index 28e59f90f..9806fd327 100644 +--- a/src/appl/gss-sample/Makefile.in ++++ b/src/appl/gss-sample/Makefile.in +@@ -6,6 +6,8 @@ SRCS= $(srcdir)/gss-client.c $(srcdir)/gss-misc.c $(srcdir)/gss-server.c + + OBJS= gss-client.o gss-misc.o gss-server.o + ++LBITS = $(shell /usr/bin/getconf LONG_BIT) ++ + all-unix: gss-server gss-client + + ##WIN32##VERSIONRC = $(BUILDTOP)\windows\version.rc +@@ -43,7 +45,9 @@ clean-unix:: + $(RM) gss-server gss-client + + check-pytests: +- $(RUNPYTEST) $(srcdir)/t_gss_sample.py $(PYTESTFLAGS) ++ if ! [ $(LBITS) -eq 32 ]; then \ ++ $(RUNPYTEST) $(srcdir)/t_gss_sample.py $(PYTESTFLAGS); \ ++ fi + + install-unix: + $(INSTALL_PROGRAM) gss-client $(DESTDIR)$(CLIENT_BINDIR)/gss-client |