From: Yu Watanabe Date: Sat, 26 Jun 2021 15:02:24 +0000 (+0900) Subject: udev-test: add a testcase for string_escape=replace X-Git-Tag: v249-rc3~34^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33989b967e30acc3f29f9cf9af3eec1817fd508e;p=thirdparty%2Fsystemd.git udev-test: add a testcase for string_escape=replace --- 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 => <