expr: Properly handle several cases involving string variables.
authorBen Pfaff <blp@nicira.com>
Thu, 27 Aug 2015 05:40:11 +0000 (22:40 -0700)
committerBen Pfaff <blp@nicira.com>
Sat, 12 Sep 2015 03:01:10 +0000 (20:01 -0700)
commit9d4aeccaf69861616cb0715d10e3f1f3e2a14e51
treefc6aa6e90ca86c34f404e16fa44e36a97ed4c789
parent7dbd27ca7c2afabaadc2ea42954f4221039cada0
expr: Properly handle several cases involving string variables.

The expr test cases covered string variables poorly and thus a number of
bugs and omissions slipped through.  This fixes them and generalizes the
test cases to better cover string variables.

Reported-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
ovn/lib/expr.c
tests/ovn.at
tests/test-ovn.c