summaryrefslogtreecommitdiff
path: root/tests/unixctl-py.at
diff options
context:
space:
mode:
authorAlex Wang <alexw@nicira.com>2014-10-17 11:11:36 -0700
committerAlex Wang <alexw@nicira.com>2014-10-28 18:35:23 -0700
commit91a11f5b19a370958d9f7b1827f2861d9dae16d8 (patch)
tree61bf58d6b498f4ee2331b10111a7f896b59ffefb /tests/unixctl-py.at
parent66fa2c884fe9aee48217a76189a148bf215e0f5d (diff)
downloadopenvswitch-91a11f5b19a370958d9f7b1827f2861d9dae16d8.tar.gz
ovs-appctl: Rename 'help' to 'list-commands'.
Having 'ovs-appctl help' and 'ovs-appctl --help' print different output is confusing. This commit renames the 'help' to 'list-commands'. Also, future patches will add the 'list-commands' to other ovs-* commands, and the output will be used by bash command-line completion script. Signed-off-by: Alex Wang <alexw@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests/unixctl-py.at')
-rw-r--r--tests/unixctl-py.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unixctl-py.at b/tests/unixctl-py.at
index b54d4091f..2fb7ee902 100644
--- a/tests/unixctl-py.at
+++ b/tests/unixctl-py.at
@@ -14,16 +14,16 @@ AT_CHECK([PYAPPCTL -t ovsdb-server exit], [0], [])
OVS_WAIT_WHILE([test -s ovsdb-server.pid])
AT_CLEANUP
-AT_SETUP([unixctl ovs-vswitchd help - Python])
+AT_SETUP([unixctl ovs-vswitchd list-commands - Python])
AT_SKIP_IF([test $HAVE_PYTHON = no])
OVS_VSWITCHD_START
-AT_CHECK([APPCTL help], [0], [stdout])
+AT_CHECK([APPCTL list-commands], [0], [stdout])
AT_CHECK([head -1 stdout], [0], [dnl
The available commands are:
])
mv stdout expout
-AT_CHECK([PYAPPCTL help], [0], [expout])
+AT_CHECK([PYAPPCTL list-commands], [0], [expout])
OVS_VSWITCHD_STOP
AT_CLEANUP