chiark / gitweb /
[PATCH] udev-test.pl: add a test where the group cannot be found in /etc/passwd
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Sat, 19 Mar 2005 00:45:03 +0000 (01:45 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:54:59 +0000 (23:54 -0700)
test/udev-test.pl

index 0f01099..11d1d28 100644 (file)
@@ -576,6 +576,16 @@ BUS=="scsi", KERNEL=="sda", NAME="node", GROUP="daemon"
 EOF
        },
        {
+               desc            => "textual user/group id",
+               subsys          => "block",
+               devpath         => "/block/sda",
+               exp_name        => "node",
+               exp_perms       => "root:wheel:0660",
+               conf            => <<EOF
+BUS=="scsi", KERNEL=="sda", NAME="node", OWNER="root", GROUP="wheel"
+EOF
+       },
+       {
                desc            => "permissions MODE=0777",
                subsys          => "block",
                devpath         => "/block/sda",