summaryrefslogtreecommitdiff
path: root/tests/ovsdb-execution.at
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2017-11-26 16:07:39 -0800
committerBen Pfaff <blp@ovn.org>2017-11-26 16:07:55 -0800
commitc724bd674f605aa5246688217f1a5628edebbee0 (patch)
tree62ab6c86e9fe6d96a1ad3ca97f8e884a046146de /tests/ovsdb-execution.at
parenta7ce5b85291155a3eec096786416c256f3db2709 (diff)
downloadopenvswitch-c724bd674f605aa5246688217f1a5628edebbee0.tar.gz
tests: Convert uuidfilt utility from Perl to Python.
Perl is unfashionable and Python is more widely available and understood, so this commit converts one of the OVS uses of Perl into Python. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Aaron Conole <aconole@redhat.com>
Diffstat (limited to 'tests/ovsdb-execution.at')
-rw-r--r--tests/ovsdb-execution.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ovsdb-execution.at b/tests/ovsdb-execution.at
index 311f44abc..3129e73f4 100644
--- a/tests/ovsdb-execution.at
+++ b/tests/ovsdb-execution.at
@@ -141,7 +141,7 @@ m4_define([OVSDB_CHECK_EXECUTION_RO],
AT_KEYWORDS([ovsdb execute execution positive $5])
AT_CHECK([test-ovsdb execute-readonly "`$2`" m4_foreach([txn], [$3],
[ 'txn'])], [0], [stdout], [])
- AT_CHECK([${PERL} $srcdir/uuidfilt.pl stdout], [0], [$4])
+ AT_CHECK([uuidfilt stdout], [0], [$4])
AT_CLEANUP])
OVSDB_CHECK_EXECUTION_RO([block insert on read only DB],
@@ -179,7 +179,7 @@ m4_define([OVSDB_CHECK_EXECUTION],
AT_KEYWORDS([ovsdb execute execution positive $5])
AT_CHECK([test-ovsdb execute "`$2`" m4_foreach([txn], [$3], [ 'txn'])],
[0], [stdout], [])
- AT_CHECK([${PERL} $srcdir/uuidfilt.pl stdout], [0], [$4])
+ AT_CHECK([uuidfilt stdout], [0], [$4])
AT_CLEANUP])
OVSDB_CHECK_EXECUTION([uuid-name must be <id>],