]> err.no Git - systemd/commitdiff
[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 300d822d920827de15edc2b1ba4c5238a50de3e2..407ecd3b5bc5c92bbd6f9b318d98e535e7fb0eb8 100644 (file)
@@ -542,6 +542,16 @@ EOF
                exp_majorminor  => "8:0",
                conf            => <<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
        },
 );