diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2023-01-05 15:12:29 +0100 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2023-01-06 15:56:12 +0100 |
commit | 461ab419ead100ef38a3f596151e826ca3dd131d (patch) | |
tree | 7c7af8f818cf9bc9b97190c3cda522340f0f860e /acinclude.m4 | |
parent | 182b9cb3524c5e7be20be7ebf061c6730a7f7e26 (diff) | |
download | openvswitch-461ab419ead100ef38a3f596151e826ca3dd131d.tar.gz |
treewide: Don't use non-portable '==' with test command.
'==' is not defined by POSIX and not supported by some shells.
This is causing test failures and potential other issues:
./tests/testsuite: 54: test: X2: unexpected operator
./tests/testsuite: 54: test: X157: unexpected operator
./tests/testsuite: 54: test: X116: unexpected operator
Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2022-December/052157.html
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 8aecfb63d..ac1eab790 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -263,7 +263,7 @@ AC_DEFUN([OVS_CHECK_LINUX_AF_XDP], [ [enable_afxdp=auto]) AC_MSG_CHECKING([whether AF_XDP is enabled]) - if test "$enable_afxdp" == no; then + if test "$enable_afxdp" = no; then AC_MSG_RESULT([no]) AF_XDP_ENABLE=false else |