summaryrefslogtreecommitdiff
path: root/test/udev-test.pl
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-19 01:45:03 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:54:59 -0700
commitc827876312bde7809f5f08b89b9223391da0e3b4 (patch)
treedb73b120b78eb1f0e27098d252c3946036364e88 /test/udev-test.pl
parent9b434de102c8d4f74842bc6533c92cb3a4887d8d (diff)
[PATCH] udev-test.pl: add a test where the group cannot be found in /etc/passwd
Diffstat (limited to 'test/udev-test.pl')
-rw-r--r--test/udev-test.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 0f010991ac..11d1d2877b 100644
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -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",