From: Martin Storsjö Date: Thu, 24 Nov 2011 19:43:33 +0000 (+0100) Subject: * testsuite/Makefile.in (check): Pass $(EXEEXT) in the environment of X-Git-Tag: converted-master-branch-to-git~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d578b9d6aa05ab0fa4fc7b5c34bf82a6c637b1d;p=thirdparty%2Fnettle.git * testsuite/Makefile.in (check): Pass $(EXEEXT) in the environment of run-tests. * testsuite/pkcs1-conv-test: Use $EXEEXT and $EMULATOR. Ignore \r in rsa-sign output. Rev: nettle/testsuite/Makefile.in:1.17 Rev: nettle/testsuite/pkcs1-conv-test:1.2 --- diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in index ee530a7c..629f01e6 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in @@ -89,7 +89,8 @@ $(TARGETS) $(EXTRA_TARGETS): testutils.$(OBJEXT) \ # The PATH update is for locating dlls on w*ndows. check: $(TS_ALL) $(srcdir)/run-tests LD_LIBRARY_PATH=../.lib PATH="../.lib:$$PATH" srcdir="$(srcdir)" \ - EMULATOR="$(EMULATOR)" NM="$(NM)" $(srcdir)/run-tests $(TS_ALL) + EMULATOR="$(EMULATOR)" NM="$(NM)" EXEEXT="$(EXEEXT)" \ + $(srcdir)/run-tests $(TS_ALL) Makefile: $(srcdir)/Makefile.in ../config.status diff --git a/testsuite/pkcs1-conv-test b/testsuite/pkcs1-conv-test index e1ce3dba..31982322 100755 --- a/testsuite/pkcs1-conv-test +++ b/testsuite/pkcs1-conv-test @@ -4,10 +4,10 @@ if [ -z "$srcdir" ] ; then srcdir=`pwd` fi -[ -x ../tools/pkcs1-conv ] || exit 77 +[ -x ../tools/pkcs1-conv$EXEEXT ] || exit 77 # Private RSA key, generated by openssl -../tools/pkcs1-conv >testkey.priv <testkey.priv <testkey.pub <testkey.pub <testsignature <testtmp < testsignature # Signature on the data "gazonk\n", using sha1 and the above key cat > testsignature2 <