21255d
From c68da72231d5c502acd4e79791d0810790f3231b Mon Sep 17 00:00:00 2001
21255d
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
21255d
Date: Fri, 4 Sep 2020 18:09:20 +0200
21255d
Subject: [PATCH] udev-test: do not rely on "mail" group being defined
21255d
21255d
"audio" should be there, at least we declare it. "mail" nowadays is less
21255d
likely to exist than in the past.
21255d
21255d
Fixes one of the items in #16942.
21255d
21255d
(cherry picked from commit a9030b81c154c3ec92227d04cad6b13cc1125608)
21255d
21255d
Related: #1642728
21255d
---
21255d
 test/udev-test.pl | 4 ++--
21255d
 1 file changed, 2 insertions(+), 2 deletions(-)
21255d
21255d
diff --git a/test/udev-test.pl b/test/udev-test.pl
21255d
index 4bf97d82bb..a4deffacb9 100755
21255d
--- a/test/udev-test.pl
21255d
+++ b/test/udev-test.pl
21255d
@@ -629,9 +629,9 @@ EOF
21255d
                 desc            => "textual user/group id",
21255d
                 devpath         => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda",
21255d
                 exp_name        => "node",
21255d
-                exp_perms       => "root:mail:0660",
21255d
+                exp_perms       => "root:audio:0660",
21255d
                 rules           => <
21255d
-SUBSYSTEMS=="scsi", KERNEL=="sda", SYMLINK+="node", OWNER="root", GROUP="mail"
21255d
+SUBSYSTEMS=="scsi", KERNEL=="sda", SYMLINK+="node", OWNER="root", GROUP="audio"
21255d
 EOF
21255d
         },
21255d
         {