policy tests: Use 'nogroup' rather than 'wheel' or 'root'
authorWill Thompson <will.thompson@collabora.co.uk>
Mon, 13 Dec 2010 17:22:00 +0000 (17:22 +0000)
committerRalf Habacker <ralf.habacker@freenet.de>
Wed, 15 Dec 2010 08:42:55 +0000 (09:42 +0100)
The excellently-titled commit 197bef8 “Fix test failures on OSX.” broke
the tests on Linux, since there's no wheel group on this side of the
tracks. So here's a group everyone should enjoy.

(If anyone comes along and tells me that DragonflyBSD doesn't have
'nogroup' …)

test/data/valid-config-files/many-rules.conf

index 68ba9d9..e3ff225 100644 (file)
@@ -17,7 +17,7 @@
     <deny send_destination="org.freedesktop.System"/>
     <deny receive_sender="org.freedesktop.System"/>
     <deny user="root"/>
-    <deny group="wheel"/>
+    <deny group="nogroup"/>
     <allow send_type="error"/>
     <allow send_type="method_call"/>
     <allow send_type="method_return"/>
@@ -35,7 +35,7 @@
     <deny send_destination="org.freedesktop.System"/>
     <deny receive_sender="org.freedesktop.System"/>
     <deny user="root"/>
-    <deny group="wheel"/>
+    <deny group="nogroup"/>
     <allow send_type="error"/>
     <allow send_type="method_call"/>
     <allow send_type="method_return"/>