mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 23:10:57 +07:00
[PATCH] add big major tests to udev-test.pl
This commit is contained in:
parent
a5e8d2b4a3
commit
7d12d4e175
1
test/sys/class/i2c-dev/i2c-fake1/dev
Normal file
1
test/sys/class/i2c-dev/i2c-fake1/dev
Normal file
@ -0,0 +1 @@
|
||||
4095:1
|
1
test/sys/class/i2c-dev/i2c-fake1/name
Normal file
1
test/sys/class/i2c-dev/i2c-fake1/name
Normal file
@ -0,0 +1 @@
|
||||
fake1 dev
|
1
test/sys/class/i2c-dev/i2c-fake2/dev
Normal file
1
test/sys/class/i2c-dev/i2c-fake2/dev
Normal file
@ -0,0 +1 @@
|
||||
4094:89999
|
1
test/sys/class/i2c-dev/i2c-fake2/name
Normal file
1
test/sys/class/i2c-dev/i2c-fake2/name
Normal file
@ -0,0 +1 @@
|
||||
fake2 dev
|
@ -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
|
||||
},
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user