diff mbox series

[ovs-dev] ovsdb-idl.at: Fix test failed. (writing large data via IDL with unicode)

Message ID 20180322063234.1896-1-ligs@dtdream.com
State Accepted
Headers show
Series [ovs-dev] ovsdb-idl.at: Fix test failed. (writing large data via IDL with unicode) | expand

Commit Message

Guoshuai Li March 22, 2018, 6:32 a.m. UTC
The uuidfilt command is not supported in branch 2.8 and earlier.
Modify the test so that it can be tested successfully.

Signed-off-by: Guoshuai Li <ligs@dtdream.com>
---

This patch is for branch-2.8/branch-2.7.

---
 tests/ovsdb-idl.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ben Pfaff March 31, 2018, 6:28 p.m. UTC | #1
On Thu, Mar 22, 2018 at 02:32:34PM +0800, Guoshuai Li wrote:
> The uuidfilt command is not supported in branch 2.8 and earlier.
> Modify the test so that it can be tested successfully.
> 
> Signed-off-by: Guoshuai Li <ligs@dtdream.com>
> ---
> 
> This patch is for branch-2.8/branch-2.7.

Thank you.  I applied this to both of those branches.
diff mbox series

Patch

diff --git a/tests/ovsdb-idl.at b/tests/ovsdb-idl.at
index cd69fae6d..5e8d381d5 100644
--- a/tests/ovsdb-idl.at
+++ b/tests/ovsdb-idl.at
@@ -338,7 +338,7 @@  m4_define([OVSDB_CHECK_IDL_PYN_WITH_EXPOUT],
    AT_CHECK([$8 $srcdir/test-ovsdb.py  -t10 idl $srcdir/idltest.ovsschema unix:socket $3],
             [0], [stdout], [ignore])
    echo "$4" > expout
-   AT_CHECK([sort stdout | uuidfilt]m4_if([$6],,, [[| $6]]),
+   AT_CHECK([sort stdout | ${PERL} $srcdir/uuidfilt.pl]m4_if([$6],,, [[| $6]]),
             [0], [expout])
    OVSDB_SERVER_SHUTDOWN
    AT_CLEANUP])