From 322125b9603cab2c70e827ae83d332cb6575e399 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 7 Jan 2011 09:50:08 +1100 Subject: [PATCH] - (djm) [regress/cert-hostkey.sh regress/cert-userkey.sh] fix shell test for no-ECC case. Patch from cristian.ionescu-idbohrn AT axis.com --- ChangeLog | 4 ++++ regress/cert-hostkey.sh | 2 +- regress/cert-userkey.sh | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e63aab5b..636524bba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20110107 + - (djm) [regress/cert-hostkey.sh regress/cert-userkey.sh] fix shell test + for no-ECC case. Patch from cristian.ionescu-idbohrn AT axis.com + 20110106 - (djm) OpenBSD CVS Sync - markus@cvs.openbsd.org 2010/12/08 22:46:03 diff --git a/regress/cert-hostkey.sh b/regress/cert-hostkey.sh index 1ae5d0bda..c23a41c68 100644 --- a/regress/cert-hostkey.sh +++ b/regress/cert-hostkey.sh @@ -5,7 +5,7 @@ tid="certified host keys" # used to disable ECC based tests on platforms without ECC ecdsa="" -if "$TEST_SSH_ECC" = "yes"; then +if test "x$TEST_SSH_ECC" = "xyes"; then ecdsa=ecdsa fi diff --git a/regress/cert-userkey.sh b/regress/cert-userkey.sh index a42c7f34a..fcca3708b 100644 --- a/regress/cert-userkey.sh +++ b/regress/cert-userkey.sh @@ -5,7 +5,7 @@ tid="certified user keys" # used to disable ECC based tests on platforms without ECC ecdsa="" -if "$TEST_SSH_ECC" = "yes"; then +if test "x$TEST_SSH_ECC" = "xyes"; then ecdsa=ecdsa fi