From 6d578b9d6aa05ab0fa4fc7b5c34bf82a6c637b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 24 Nov 2011 20:43:33 +0100 Subject: [PATCH] * 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 --- testsuite/Makefile.in | 3 ++- testsuite/pkcs1-conv-test | 11 ++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) 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 <