
21 Nov
2008
21 Nov
'08
5:54 p.m.
"Daniel P. Berrange" <berrange@redhat.com> wrote:
On Fri, Nov 21, 2008 at 11:16:18AM +0100, Jim Meyering wrote:
Actually, this was the first step. This tiny script merely invokes all commands blindly, solely to get test coverage, even if they (as most do) fail.
It at least verifies that the commands don't crash or leak memory in the error paths :-)
+ +if test "$VERBOSE" = yes; then + set -x + virsh --version +fi + +. $srcdir/test-lib.sh
$srcdir won't be set if you just invoke the test case directly as ./virsh-all. Can you add a default value assuming non-VPATH build, eg
test -z "$srcdir" && srcdir=`pwd`
Sure. Done. and in virsh-synopsis. I'll commit these tomorrow.