]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
tests: Add a bunch of new tests to virsh-optparse
authorAndrea Bolognani <abologna@redhat.com>
Tue, 2 Jun 2015 09:17:24 +0000 (11:17 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 2 Jun 2015 13:20:30 +0000 (09:20 -0400)
commit779457a19ceedf67a42efb944045506a71ac199e
tree76cb16a6106f34836a332fe97bb17418eefacf48
parentc8be606baec0a4fb477d1385454cf10ce15b061c
tests: Add a bunch of new tests to virsh-optparse

The new tests deal with numeric options of three kinds: regular,
scaled and timeouts. For each, both valid and invalid inputs
are provided, hopefully covering all cases: this should allow us
to avoid regressions when changing the relevant code in virsh.
tests/virsh-optparse