lib/oeqa/runtime: rewrite the systemd test module
authorStefan Stanacar <stefanx.stanacar@intel.com>
Wed, 18 Dec 2013 19:02:05 +0000 (21:02 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Dec 2013 12:26:29 +0000 (12:26 +0000)
commit62f8f143a9d24e6883851a338c07d03a18d9bf3a
treef7eaa0d008b434bfe64090b44ce62cca450a2743
parent6b9cbcabbe634c34af0635be217cad0d8815416b
lib/oeqa/runtime: rewrite the systemd test module

They are basically the same tests but:
- they look cleaner, using one single method / assert
- output from unittest will be cleaner (and includes a verbose status when needed)
- they are better grouped and use a real, active, enabled service
  (machineid will be dropped and hostnamed was a static service)

(From OE-Core rev: 0aa5b97f9e0d8941ce342e9f162dd3b19d4b49bb)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/systemd.py