[systemd-devel] [PATCH] initial sysv-generator test suite

Martin Pitt martin.pitt at ubuntu.com
Tue Jan 20 23:14:45 PST 2015

Martin Pitt [2015-01-20 16:19 +0100]:
> Thus I think it's high time to write some integration tests for that.
> The attached patch provides the necessary framework and an initial set
> of tests; e. g. test_multiple_provides() covers Michael's recent
> commit b7e71846.

Zbigniew and Thomas generally ack'ed this, so I pushed this as


Improvements since the first version:

 - no shell wrapper any more
 - several new tests, including a reproducer for the "bogus orderings"
   bug in commit 1ed0c19
 - assert_enabled() helper for making test cases smaller
 - now works with both python 2 and 3, so the "$(PYTHON) is python3"
   condition got dropped


Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

More information about the systemd-devel mailing list