diff options
-rwxr-xr-x | tests/cert-tests/template-test | 2 | ||||
-rwxr-xr-x | tests/pkcs1-padding/pkcs1-pad | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/cert-tests/template-test b/tests/cert-tests/template-test index b56b27d63c..769957b7a9 100755 --- a/tests/cert-tests/template-test +++ b/tests/cert-tests/template-test @@ -24,7 +24,7 @@ srcdir=${srcdir:-.} CERTTOOL=${CERTTOOL:-../../src/certtool$EXEEXT} # Check for datefudge -TSTAMP=`datefudge "2006-09-23" date -u +%s` +TSTAMP=`datefudge "2006-09-23" date -u +%s || true` if test "$TSTAMP" != "1158962400"; then echo "You need datefudge to run this test" exit 77 diff --git a/tests/pkcs1-padding/pkcs1-pad b/tests/pkcs1-padding/pkcs1-pad index 1b2ac81aa0..3101c7e049 100755 --- a/tests/pkcs1-padding/pkcs1-pad +++ b/tests/pkcs1-padding/pkcs1-pad @@ -21,11 +21,13 @@ # along with GnuTLS; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +set -e + srcdir=${srcdir:-.} CERTTOOL=${CERTTOOL:-../../src/certtool$EXEEXT} # Check for datefudge -TSTAMP=`datefudge "2006-09-23" date -u +%s` +TSTAMP=`datefudge "2006-09-23" date -u +%s || true` if test "$TSTAMP" != "1158962400"; then echo "You need datefudge to run this test" exit 77 |