From: Darren Tucker Date: Wed, 25 Nov 2020 06:38:46 +0000 (+1100) Subject: Use "=" not "==" in string test. X-Git-Tag: V_8_5_P1~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=637017a7dd3281d3f2df804993cc27c30dbfda47;p=thirdparty%2Fopenssh-portable.git Use "=" not "==" in string test. POSIX says "=" is string comparison and some shells (eg HP-UX) will complain about "==". --- diff --git a/regress/key-options.sh b/regress/key-options.sh index 097f46eba..2f3d66e2e 100644 --- a/regress/key-options.sh +++ b/regress/key-options.sh @@ -9,7 +9,7 @@ cp $authkeys $origkeys # Allocating ptys can require privileges on some platforms. skip_pty="" -if ! config_defined HAVE_OPENPTY && [ "x$SUDO" == "x" ]; then +if ! config_defined HAVE_OPENPTY && [ "x$SUDO" = "x" ]; then skip_pty="no openpty(3) and SUDO not set" fi