]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vsh: Make self-test more robust
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 16 Nov 2017 12:38:27 +0000 (13:38 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 21 Nov 2017 11:46:06 +0000 (12:46 +0100)
commit6dc5490141b4e1726a13570b1bab606d5f2d2199
treeceb4e6d622bee32d40b316ec9fda009e4d1548c7
parent0d110277c0b57d934415a2ea29d3e6cbf9f0f200
vsh: Make self-test more robust

There are couple of limitations when it comes to option types and
flags for the options. For instance, VSH_OT_STRING cannot have
VSH_OFLAG_REQ set (commit c7543a728). For some reason this is
checked in vshCmddefHelp() but not in vshCmddefCheckInternals().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
tools/vsh.c