tests: Fix use of "test".
authorBen Pfaff <blp@ovn.org>
Thu, 25 Feb 2016 22:24:20 +0000 (14:24 -0800)
committerBen Pfaff <blp@ovn.org>
Fri, 26 Feb 2016 20:50:49 +0000 (12:50 -0800)
Only = is portable for testing equality, == is a nonportable extension.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
tests/ovn.at

index 0e71732..5cb7d8b 100644 (file)
@@ -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