teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0534-test-udev-test.pl-remove-bogus-rules-from-magic-subs.patch

bd1529
From c63273de445789ffeea961448fda51d21c924f8c Mon Sep 17 00:00:00 2001
bd1529
From: Martin Wilck <mwilck@suse.com>
bd1529
Date: Tue, 24 Apr 2018 18:16:59 +0200
bd1529
Subject: [PATCH] test/udev-test.pl: remove bogus rules from magic subsys test
bd1529
bd1529
These rules have survived from an ancient version of the code
bd1529
and save no purpose any more.
bd1529
bd1529
(cherry picked from commit 86634df43b715f3f77c7de73a3ef6566e5cdf571)
bd1529
bd1529
Related: #1642728
bd1529
---
bd1529
 test/udev-test.pl | 2 --
bd1529
 1 file changed, 2 deletions(-)
bd1529
bd1529
diff --git a/test/udev-test.pl b/test/udev-test.pl
bd1529
index 7465b5859e..6928439d14 100755
bd1529
--- a/test/udev-test.pl
bd1529
+++ b/test/udev-test.pl
bd1529
@@ -2017,8 +2017,6 @@ EOF
bd1529
                                 exp_perms       => "0:0:0600",
bd1529
                         }],
bd1529
                 rules           => <
bd1529
-KERNEL=="sda", PROGRAM="/bin/true create-envp"
bd1529
-KERNEL=="sda", ENV{TESTENV}="change-envp"
bd1529
 KERNEL=="sda", SYMLINK+="%k-%s{[dmi/id]product_name}-end"
bd1529
 EOF
bd1529
         },