+EOF
+ },
+ {
+ desc => "SYMLINK only rule",
+ subsys => "block",
+ devpath => "block/sda",
+ exp_name => "symlink-only2",
+ conf => <<EOF
+BUS="scsi", KERNEL="sda", SYMLINK="symlink-only1"
+BUS="scsi", KERNEL="sda", SYMLINK="symlink-only2"
+BUS="scsi", KERNEL="sda", NAME="link", SYMLINK="symlink0"
+EOF
+ },
+ {
+ desc => "permissions test",
+ subsys => "block",
+ devpath => "block/sda",
+ exp_name => "node",
+ exp_perms => "5000::0444",
+ conf => <<EOF
+BUS="scsi", KERNEL="sda", NAME="node", OWNER="5000", MODE="0444"
+EOF
+ },
+ {
+ desc => "major/minor number test",
+ subsys => "block",
+ devpath => "block/sda",
+ exp_name => "node",
+ 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
+ },
+ {
+ 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"