Move the expected output data from virshdata/*.txt into virshtest.c.

* tests/virshtest.c: Embed literal, expected output here, rather than
using virshdata/*.txt file names.
Factor out some common constructs.
(testCompareOutputLit): New function.
(testCompareOutput): #ifdef-out, not that it's unused.
* tests/Makefile.am (SUBDIRS): Remove virshdata/ and all files in it.
* docs/testnode.xml: Fix typo in a comment.
* configure.in (AC_OUTPUT): Remove tests/virshdata/Makefile.
This commit is contained in:
Jim Meyering
2008-11-24 07:11:26 +00:00
parent 4733f0a781
commit 5b5393f27a
17 changed files with 124 additions and 209 deletions

View File

@@ -1,6 +1,6 @@
<node>
<!-- This file gives an example config for the mock 'test' backend
driver to libvirt. This is intended to allow relible unit testing
driver to libvirt. This is intended to allow reliable unit testing
of applications using libvirt. To use this with virsh, run something
like: