diff options
author | greg@kroah.com <greg@kroah.com> | 2004-03-12 18:00:39 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:09 -0700 |
commit | 7d12d4e175eececfc6956e99438f7c1ddd6b85eb (patch) | |
tree | 798e548ff47432065b9522e99b9374e221130d19 /test/udev-test.pl | |
parent | a5e8d2b4a312b43a295e8f022dd10034b3572125 (diff) |
[PATCH] add big major tests to udev-test.pl
Diffstat (limited to 'test/udev-test.pl')
-rw-r--r-- | test/udev-test.pl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl index 407ecd3b5b..0f623be0d3 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -554,6 +554,26 @@ 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 + }, ); # set env |