daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
21255d
From 0e0b90ffcf0731865846bfa2754a809cc2b8c53e Mon Sep 17 00:00:00 2001
21255d
From: Martin Wilck <mwilck@suse.com>
21255d
Date: Tue, 24 Apr 2018 17:57:47 +0200
21255d
Subject: [PATCH] test/udev-test.pl: fix wrong test descriptions
21255d
21255d
udev hasn't supported renaming device nodes for some time.
21255d
21255d
(cherry picked from commit 46bc71b2b73f8a1e27dc5e142730e9877dd05e3e)
21255d
21255d
Related: #1642728
21255d
---
21255d
 test/udev-test.pl | 15 ++++++++-------
21255d
 1 file changed, 8 insertions(+), 7 deletions(-)
21255d
21255d
diff --git a/test/udev-test.pl b/test/udev-test.pl
21255d
index f5edecefd0..d5d0e130e3 100755
21255d
--- a/test/udev-test.pl
21255d
+++ b/test/udev-test.pl
21255d
@@ -212,7 +212,7 @@ KERNEL=="ttyACM[0-9]*", SYMLINK+="modem/%n"
21255d
 EOF
21255d
         },
21255d
         {
21255d
-                desc            => "replace kernel name",
21255d
+                desc            => "don't replace kernel name",
21255d
                 devices => [
21255d
                         {
21255d
                                 devpath         => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
21255d
@@ -223,7 +223,7 @@ KERNEL=="ttyACM0", SYMLINK+="modem"
21255d
 EOF
21255d
         },
21255d
         {
21255d
-                desc            => "Handle comment lines in config file (and replace kernel name)",
21255d
+                desc            => "Handle comment lines in config file (and don't replace kernel name)",
21255d
                 devices => [
21255d
                         {
21255d
                                 devpath         => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
21255d
@@ -236,7 +236,7 @@ KERNEL=="ttyACM0", SYMLINK+="modem"
21255d
 EOF
21255d
         },
21255d
         {
21255d
-                desc            => "Handle comment lines in config file with whitespace (and replace kernel name)",
21255d
+                desc            => "Handle comment lines in config file with whitespace (and don't replace kernel name)",
21255d
                 devices => [
21255d
                         {
21255d
                                 devpath         => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
21255d
@@ -249,7 +249,7 @@ KERNEL=="ttyACM0", SYMLINK+="modem"
21255d
 EOF
21255d
         },
21255d
         {
21255d
-                desc            => "Handle whitespace only lines (and replace kernel name)",
21255d
+                desc            => "Handle whitespace only lines (and don't replace kernel name)",
21255d
                 devices => [
21255d
                         {
21255d
                                 devpath         => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
21255d
@@ -267,7 +267,7 @@ KERNEL=="ttyACM0", SYMLINK+="whitespace"
21255d
 EOF
21255d
         },
21255d
         {
21255d
-                desc            => "Handle empty lines in config file (and replace kernel name)",
21255d
+                desc            => "Handle empty lines in config file (and don't replace kernel name)",
21255d
                 devices => [
21255d
                         {
21255d
                                 devpath         => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
21255d
@@ -280,7 +280,7 @@ KERNEL=="ttyACM0", SYMLINK+="modem"
21255d
 EOF
21255d
         },
21255d
         {
21255d
-                desc            => "Handle backslashed multi lines in config file (and replace kernel name)",
21255d
+                desc            => "Handle backslashed multi lines in config file (and don't replace kernel name)",
21255d
                 devices => [
21255d
                         {
21255d
                                 devpath         => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",
21255d
@@ -303,8 +303,9 @@ EOF
21255d
 KERNEL=="ttyACM0", PROGRAM=="/bin/echo -e \\101", RESULT=="A", SYMLINK+="aaa"
21255d
 EOF
21255d
         },
21255d
+        # 20
21255d
         {
21255d
-                desc            => "Handle stupid backslashed multi lines in config file (and replace kernel name)",
21255d
+                desc            => "Handle stupid backslashed multi lines in config file (and don't replace kernel name)",
21255d
                 devices => [
21255d
                         {
21255d
                                 devpath         => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0",