chiark / gitweb /
[PATCH] add a test for a minor over 255
authorgreg@kroah.com <greg@kroah.com>
Sat, 13 Mar 2004 01:39:59 +0000 (17:39 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:09 +0000 (21:35 -0700)
test/sys/class/i2c-dev/i2c-300/dev [new file with mode: 0644]
test/sys/class/i2c-dev/i2c-300/name [new file with mode: 0644]
test/udev-test.pl

diff --git a/test/sys/class/i2c-dev/i2c-300/dev b/test/sys/class/i2c-dev/i2c-300/dev
new file mode 100644 (file)
index 0000000..e1ffb89
--- /dev/null
@@ -0,0 +1 @@
+89:300
diff --git a/test/sys/class/i2c-dev/i2c-300/name b/test/sys/class/i2c-dev/i2c-300/name
new file mode 100644 (file)
index 0000000..9357009
--- /dev/null
@@ -0,0 +1 @@
+foo dev
index 300d822..407ecd3 100644 (file)
@@ -544,6 +544,16 @@ EOF
 BUS="scsi", KERNEL="sda", NAME="node"
 EOF
        },
+       {
+               desc            => "big minor number test",
+               subsys          => "i2c-dev",
+               devpath         => "class/i2c-dev/i2c-300",
+               exp_name        => "node",
+               exp_majorminor  => "89:300",
+               conf            => <<EOF
+KERNEL="i2c-300", NAME="node"
+EOF
+       },
 );
 
 # set env