[PATCH] add big major tests to udev-test.pl

This commit is contained in:
greg@kroah.com 2004-03-12 18:00:39 -08:00 committed by Greg KH
parent a5e8d2b4a3
commit 7d12d4e175
5 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1 @@
4095:1

View File

@ -0,0 +1 @@
fake1 dev

View File

@ -0,0 +1 @@
4094:89999

View File

@ -0,0 +1 @@
fake2 dev

View File

@ -552,6 +552,26 @@ EOF
exp_majorminor => "89:300",
conf => <<EOF
KERNEL="i2c-300", NAME="node"
EOF
},
{
desc => "big major number test",
subsys => "i2c-dev",
devpath => "class/i2c-dev/i2c-fake1",
exp_name => "node",
exp_majorminor => "4095:1",
conf => <<EOF
KERNEL="i2c-fake1", NAME="node"
EOF
},
{
desc => "big major and big minor number test",
subsys => "i2c-dev",
devpath => "class/i2c-dev/i2c-fake2",
exp_name => "node",
exp_majorminor => "4094:89999",
conf => <<EOF
KERNEL="i2c-fake2", NAME="node"
EOF
},
);