summaryrefslogtreecommitdiffstats
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-27 08:54:59 +0200
commitc827876312bde7809f5f08b89b9223391da0e3b4 (patch)
treedb73b120b78eb1f0e27098d252c3946036364e88
parent[PATCH] udev-test.pl: add check for textual uid/gid (diff)
downloadsystemd-c827876312bde7809f5f08b89b9223391da0e3b4.tar.xz
systemd-c827876312bde7809f5f08b89b9223391da0e3b4.zip
[PATCH] udev-test.pl: add a test where the group cannot be found in /etc/passwd
-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",