From a5e8d2b4a312b43a295e8f022dd10034b3572125 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Fri, 12 Mar 2004 17:39:59 -0800 Subject: [PATCH] [PATCH] add a test for a minor over 255 --- test/sys/class/i2c-dev/i2c-300/dev | 1 + test/sys/class/i2c-dev/i2c-300/name | 1 + test/udev-test.pl | 10 ++++++++++ 3 files changed, 12 insertions(+) create mode 100644 test/sys/class/i2c-dev/i2c-300/dev create mode 100644 test/sys/class/i2c-dev/i2c-300/name diff --git a/test/sys/class/i2c-dev/i2c-300/dev b/test/sys/class/i2c-dev/i2c-300/dev new file mode 100644 index 00000000..e1ffb89f --- /dev/null +++ b/test/sys/class/i2c-dev/i2c-300/dev @@ -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 index 00000000..93570097 --- /dev/null +++ b/test/sys/class/i2c-dev/i2c-300/name @@ -0,0 +1 @@ +foo dev diff --git a/test/udev-test.pl b/test/udev-test.pl index 300d822d..407ecd3b 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -542,6 +542,16 @@ EOF exp_majorminor => "8:0", conf => < "big minor number test", + subsys => "i2c-dev", + devpath => "class/i2c-dev/i2c-300", + exp_name => "node", + exp_majorminor => "89:300", + conf => <