tests: new test: virsh-synopsis

* tests/virsh-synopsis: new file
* tests/Makefile.am (test_scripts): Add virsh-synopsis.
* src/virsh.c: Correct help SYNOPSIS for each of seven commands.

When I first ran this script, "make check" failed like this:
  ...
  invalid help SYNOPSIS for net-create:
      create a network from an XML <file>
  invalid help SYNOPSIS for net-define:
      define a network from an XML <file>
  invalid help SYNOPSIS for net-start:
      start <network>
  invalid help SYNOPSIS for pool-create:
      create a pool from an XML <file>
  invalid help SYNOPSIS for pool-define:
      define a pool from an XML <file>
  invalid help SYNOPSIS for pool-start:
      start <pool>
  invalid help SYNOPSIS for vol-create:
      create <file>
  FAIL: virsh-synopsis
This commit is contained in:
Jim Meyering
2008-11-24 07:13:29 +00:00
parent 8275cc5eb0
commit 62bcd5d32b
4 changed files with 59 additions and 8 deletions

View File

@@ -63,6 +63,7 @@ test_scripts += \
undefine \
vcpupin
virsh-all
virsh-synopsis
endif
EXTRA_DIST += $(test_scripts)