]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/udev-test.pl
[PATCH] fix udev segfaults with bad permissions file
[thirdparty/systemd.git] / test / udev-test.pl
index 1e7c51e5565f2d700e3b8884d052d7b86c1653c6..9feb28a7ba1afc40650b88926bccdb7bd7bd5690 100644 (file)
@@ -158,6 +158,22 @@ EOF
  # this is a comment with whitespace before the comment 
 KERNEL="ttyUSB0", NAME="visor"
 
+EOF
+       },
+       {
+               desc            => "Handle whitespace only lines (and replace kernel name)",
+               subsys          => "tty",
+               devpath         => "/class/tty/ttyUSB0",
+               exp_name        => "whitespace" ,
+               conf            => <<EOF
+
+
+ # this is a comment with whitespace before the comment 
+KERNEL="ttyUSB0", NAME="whitespace"
+
+
 EOF
        },
        {