]> xenbits.xensource.com Git - libvirt.git/commit
Fix daemon-conf invalid failures
authorDavid Allan <dallan@redhat.com>
Fri, 19 Feb 2010 17:37:00 +0000 (18:37 +0100)
committerDaniel Veillard <veillard@redhat.com>
Sat, 20 Feb 2010 14:26:53 +0000 (15:26 +0100)
commitb4bf51253b2f8c3c811a9681699a65871dc4ef2d
treec1babe865b56d61974e6bc22adc8502d15c361fa
parent27fc6782bccd9d2e3ded62123ea94cb28199f6e0
Fix daemon-conf invalid failures

The daemon-conf test would fail on my system if there was a system libvirtd
running.  In the course of troubleshooting that problem, I discovered that the
daemon-conf script would always fail if run by itself because it found the line:

\# that each "PARAMETER = VALUE" line in this file have the parameter

which it mistook for a line containing a parameter.  I have changed the test to
avoid mistaking a line containing \"PARAMETER = VALUE\" for a parameter line.

The corrupted config tests turned out to be failing because the test daemon was
discovering the pid file from the running daemon and exiting before it processed
the test config file.  Specifying the pid file for the corrupt config tests in
the same way as for the valid config test solved that problem.
tests/daemon-conf