chiark / gitweb /
[PATCH] add a test and simplify debug statement
[elogind.git] / test / udev-test.pl
index 8d66536b94462880fde4950e7146b6ccaf77ef01..ebceccecb23608fafc2eeeeb8aeaec3ff6c26da1 100644 (file)
@@ -1159,6 +1159,16 @@ EOF
                conf            => <<EOF
 KERNEL=="sda1", PROGRAM!="/bin/false", NAME="nonzero-program"
 BUS=="scsi", KERNEL=="sda1", NAME="wrong"
+EOF
+       },
+       {
+               desc            => "test for whitespace between the operator",
+               subsys          => "block",
+               devpath         => "/block/sda/sda1",
+               exp_name        => "true",
+               conf            => <<EOF
+KERNEL   ==   "sda1"     ,    NAME   =    "true"
+BUS=="scsi", KERNEL=="sda1", NAME="wrong"
 EOF
        },
 );