chiark / gitweb /
[PATCH] add a test for a minor over 255
[elogind.git] / test / udev-test.pl
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