[ovs-dev] [PATCH] tests: Fix use of "test".
Ben Pfaff
blp at ovn.org
Thu Feb 25 22:24:20 UTC 2016
Only = is portable for testing equality, == is a nonportable extension.
Signed-off-by: Ben Pfaff <blp at ovn.org>
---
tests/ovn.at | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/ovn.at b/tests/ovn.at
index 0e71732..5cb7d8b 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -634,7 +634,7 @@ test_arp() {
hv=`vif_to_hv $inport`
as $hv ovs-appctl netdev-dummy/receive vif$inport $request
- if test X$reply_ha == X; then
+ if test X$reply_ha = X; then
# Expect to receive the broadcast ARP on the other logical switch ports
# if no reply is expected.
local i j
--
2.1.3
More information about the dev
mailing list