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

@@ -2,7 +2,7 @@
SHELL = $(PREFERABLY_POSIX_SHELL)
SUBDIRS = virshdata confdata sexpr2xmldata \
SUBDIRS = confdata sexpr2xmldata \
xml2sexprdata xmconfigdata xencapsdata
INCLUDES = \