[opensaml2] 04/05: New patch Fix-data_path-in-samltest.h.patch
Etienne Dysli Metref
edm-guest at moszumanska.debian.org
Mon Oct 24 07:32:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
edm-guest pushed a commit to branch debian/wheezy-backports-sloppy
in repository opensaml2.
commit ad68229be6a035df73f94baf0822d47a9e2a30c8
Author: Etienne Dysli Metref <etienne.dysli-metref at switch.ch>
Date: Thu Oct 20 12:27:43 2016 +0200
New patch Fix-data_path-in-samltest.h.patch
Fixes test failures caused by wrong path prefix.
---
debian/patches/Fix-data_path-in-samltest.h.patch | 29 ++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 30 insertions(+)
diff --git a/debian/patches/Fix-data_path-in-samltest.h.patch b/debian/patches/Fix-data_path-in-samltest.h.patch
new file mode 100644
index 0000000..91ef460
--- /dev/null
+++ b/debian/patches/Fix-data_path-in-samltest.h.patch
@@ -0,0 +1,29 @@
+From: Etienne Dysli Metref <etienne.dysli-metref at switch.ch>
+Date: Thu, 20 Oct 2016 12:24:04 +0200
+Subject: Fix data_path in samltest.h
+
+Otherwise, the following test data files are looked up with the wrong
+path and not found, causing test failures.
+
+samltest/data/security/XMLMetadataProvider.xml
+samltest/data/signature/SAML1Assertion.xml
+samltest/data/signature/SAML1Request.xml
+samltest/data/signature/SAML1Response.xml
+samltest/data/signature/SAML2Assertion.xml
+---
+ samltest/samltest.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/samltest/samltest.h b/samltest/samltest.h
+index 70f05c5..687e2f0 100644
+--- a/samltest/samltest.h
++++ b/samltest/samltest.h
+@@ -30,7 +30,7 @@ using namespace opensaml;
+
+ //#define SAML_LEAKCHECK
+
+-std::string data_path = "../../../samltest/data/";
++std::string data_path = "../samltest/data/";
+
+ class SAMLFixture : public CxxTest::GlobalFixture
+ {
diff --git a/debian/patches/series b/debian/patches/series
index 5e3b291..047dfae 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -21,3 +21,4 @@ Enable-skipping-tests-which-require-network-access.patch
Enable-the-dot-feature-of-Doxygen.patch
Provide-PKG_INSTALLDIR-and-PKG_CHECK_VAR-macros-to-build-.patch
Delete-unit-tests-that-use-the-network-wheezy-only.patch
+Fix-data_path-in-samltest.h.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/opensaml2.git
More information about the Pkg-shibboleth-devel
mailing list