From 228cfe73b764f9e2b2930f92614605e72ce2f932 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Mon, 14 Dec 2009 18:25:04 -0800 Subject: [PATCH] in sh, equal compare is really = for strings, not == --- tests/gss/check-context.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/gss/check-context.in b/tests/gss/check-context.in index f19ad272a..1a8384777 100644 --- a/tests/gss/check-context.in +++ b/tests/gss/check-context.in @@ -175,11 +175,11 @@ ${context} --no-dns-canon --name-type=krb5-principal-name host/lucid || \ echo "======test context building" for mech in krb5 krb5iov spnego spnegoiov; do - if [ "$mech" == "krb5iov" ] ; then + if [ "$mech" = "krb5iov" ] ; then mech="krb5" iov="--iov" fi - if [ "$mech" == "spnegoiov" ] ; then + if [ "$mech" = "spnegoiov" ] ; then mech="spnego" iov="--iov" fi @@ -215,11 +215,11 @@ done echo "======dce-style" for mech in krb5 krb5iov spnego; do iov="" - if [ "$mech" == "krb5iov" ] ; then + if [ "$mech" = "krb5iov" ] ; then mech="krb5" iov="--iov" fi - if [ "$mech" == "spnegoiov" ] ; then + if [ "$mech" = "spnegoiov" ] ; then mech="spnego" iov="--iov" fi -- 2.11.4.GIT