From 33989b967e30acc3f29f9cf9af3eec1817fd508e Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 27 Jun 2021 00:02:24 +0900 Subject: [PATCH] udev-test: add a testcase for string_escape=replace --- test/udev-test.pl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/udev-test.pl b/test/udev-test.pl index 5b1e33504e0..5c1b364848c 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1162,6 +1162,21 @@ EOF rules => < "symlink with env which contain slash (see #19309)", + devices => [ + { + devpath => "/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/tty/ttyACM0", + exp_links => ["first", "name-aaa_bbb_ccc-end", + "another_symlink", "a", "b", "c"], + not_exp_links => ["ame-aaa/bbb/ccc-end"], + }], + rules => <