Christian Ehrhardt
2b717929a8
virt-aa-helper: test: check for expected profile content
...
So far the virt-aa-helper tests only checked the return code and thereby
catched aborts like issues failing to parse the XML. But there is one
category of virt-aa-helper issues so far untested - not generating the
expected rule.
This adds a basic grep based checks after each test to match against the
rule that is expected to be added by the test.
Acked-by: Jamie Strandboge <jamie@canonical.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2018-03-23 07:14:58 +01:00
..
2017-02-11 06:51:28 +04:00
2017-08-06 09:24:26 +04:00
2017-08-06 09:24:26 +04:00
2017-04-11 14:06:47 +02:00
2017-11-20 13:22:48 +01:00
2018-03-20 12:13:36 +00:00
2018-01-25 15:30:32 +01:00
2017-04-11 14:06:47 +02:00
2017-11-07 14:58:04 +01:00
2018-03-13 13:54:06 +01:00
2017-01-18 06:31:54 -05:00
2018-02-02 14:51:32 +01:00
2018-02-02 14:51:32 +01:00
2018-03-21 15:12:24 -06:00
2017-07-11 10:41:24 +02:00
2017-03-21 11:25:59 -04:00
2017-03-21 11:25:59 -04:00
2017-03-21 11:25:59 -04:00
2017-09-18 08:32:24 -04:00
2016-12-06 13:34:00 +01:00
2017-12-07 09:21:04 +00:00
2017-12-07 09:21:04 +00:00
2017-12-05 14:52:49 +01:00
2018-01-31 11:32:04 -05:00
2018-03-21 18:05:05 +01:00
2017-11-30 16:49:05 +01:00
2017-10-27 14:43:21 +02:00
2018-03-19 21:22:43 +01:00
2017-07-15 14:50:42 +02:00
2017-08-03 09:54:36 +02:00
2018-03-13 13:54:11 +01:00
2018-03-21 17:59:24 +01:00
2018-03-21 17:59:24 +01:00
2017-10-17 06:19:18 +02:00
2017-03-29 10:36:55 +02:00
2017-03-29 10:36:55 +02:00
2017-03-08 13:22:33 -05:00
2017-03-08 13:22:33 -05:00
2017-03-08 13:22:33 -05:00
2018-03-14 17:43:40 +01:00
2018-01-25 17:16:08 +01:00
2017-07-13 09:37:52 +02:00
2017-10-16 10:22:34 +01:00
2017-07-26 15:33:45 +02:00
2018-01-11 14:23:09 +01:00
2017-07-11 14:24:17 +02:00
2017-08-03 09:54:36 +02:00
2018-02-02 13:00:48 +00:00
2018-01-25 17:16:08 +01:00
2017-04-04 16:36:15 +02:00
2018-02-21 12:28:49 -07:00
2017-11-30 10:20:45 +00:00
2017-02-14 10:54:29 +01:00
2018-02-19 13:15:00 -05:00
2017-11-03 13:24:12 +01:00
2018-02-22 13:52:45 +01:00
2018-02-22 13:52:45 +01:00
2018-03-13 15:32:31 +01:00
2017-09-19 16:04:53 +02:00
2017-09-21 08:55:07 +01:00
2017-11-20 13:22:48 +01:00
2018-01-17 17:07:02 +01:00
2017-12-12 16:41:25 +01:00
2017-11-03 13:24:12 +01:00
2018-03-13 13:54:06 +01:00
2017-11-03 13:24:12 +01:00
2017-04-27 14:13:19 +02:00
2017-04-11 13:23:01 +02:00
2017-04-28 14:17:10 +02:00
2018-03-13 13:54:11 +01:00
2017-11-03 13:24:12 +01:00
2018-03-21 15:12:24 -06:00
2017-11-03 13:24:12 +01:00
2018-03-13 13:54:11 +01:00
2018-03-14 12:46:26 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2016-12-06 13:33:18 +01:00
2016-12-06 13:34:00 +01:00
2017-11-03 13:24:12 +01:00
2017-04-19 10:51:51 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-09-20 11:52:56 +02:00
2017-09-19 16:04:53 +02:00
2017-11-03 13:24:12 +01:00
2017-12-05 14:52:49 +01:00
2017-12-05 14:52:49 +01:00
2017-12-14 10:24:36 +01:00
2018-03-21 18:05:05 +01:00
2017-11-03 13:24:12 +01:00
2018-03-01 19:04:19 +01:00
2018-01-22 14:11:58 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-07-26 15:35:24 +02:00
2017-11-28 15:51:33 +01:00
2018-02-19 11:11:47 +00:00
2018-02-02 14:52:23 -05:00
2018-02-19 11:11:46 +00:00
2017-11-03 13:24:12 +01:00
2017-04-10 14:49:20 +02:00
2017-01-18 10:04:11 +01:00
2017-01-20 15:42:12 +01:00
2018-03-21 17:59:24 +01:00
2018-03-21 17:59:24 +01:00
2017-04-04 17:30:03 +02:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-01-31 18:34:48 +00:00
2017-11-03 13:24:12 +01:00
2018-03-12 20:04:08 +04:00
2017-05-15 12:34:19 +02:00
2018-03-13 13:54:11 +01:00
2018-03-13 13:54:11 +01:00
2017-07-26 15:35:02 +02:00
2018-01-04 16:52:03 +01:00
2017-07-26 15:36:21 +02:00
2017-07-26 15:35:02 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2018-02-05 16:08:57 +01:00
2017-11-03 13:24:12 +01:00
2017-11-22 11:27:40 +01:00
2017-11-14 14:45:19 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-09 08:04:26 -07:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-08-03 09:54:36 +02:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2017-07-26 15:33:45 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-05-09 13:12:40 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-04-27 14:13:19 +02:00
2018-01-10 17:34:37 -05:00
2017-11-24 11:47:26 -05:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-03-12 16:30:49 +01:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2018-02-22 13:52:45 +01:00
2018-02-02 13:00:48 +00:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2018-02-02 13:00:48 +00:00
2017-08-30 10:50:17 +02:00
2018-03-06 10:09:44 +00:00
2017-11-03 13:24:12 +01:00
2018-03-06 10:09:44 +00:00
2017-05-09 13:12:40 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2018-02-22 13:52:45 +01:00
2017-02-19 06:45:09 -05:00
2018-01-25 17:16:08 +01:00
2017-04-04 17:30:03 +02:00
2017-11-30 10:20:06 +00:00
2017-11-03 13:24:12 +01:00
2017-04-11 14:06:47 +02:00
2017-04-13 10:14:42 +02:00
2018-02-13 10:27:32 -05:00
2018-02-14 16:04:46 +01:00
2017-11-03 13:24:12 +01:00
2018-01-04 09:29:49 +01:00
2017-11-03 13:24:12 +01:00
2018-03-23 07:14:58 +01:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2017-11-03 13:24:12 +01:00
2017-10-05 09:09:50 +02:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-04-04 17:30:03 +02:00
2017-12-08 14:04:57 -07:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00