From: Yu Watanabe Date: Wed, 12 Apr 2023 01:27:07 +0000 (+0900) Subject: udev-test: add more testcases for SYMLINK X-Git-Tag: v254-rc1~751^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F27220%2Fhead;p=thirdparty%2Fsystemd.git udev-test: add more testcases for SYMLINK --- diff --git a/test/udev-test.pl b/test/udev-test.pl index 5873a5b6465..0164c158b50 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -226,18 +226,25 @@ EOF { devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1", exp_links => ["link1", "link2/foo", "link3/aaa/bbb", + "abs1", "abs2/foo", "abs3/aaa/bbb", "default___replace_test/foo_aaa", "string_escape___replace/foo_bbb", "env_with_space", "default/replace/mode_foo__hoge", "replace_env_harder_foo__hoge"], - not_exp_links => ["removed", "unsafe/../../path"], + not_exp_links => ["removed1", "removed2", "removed3", "unsafe/../../path", "/nondev/path/will/be/refused"], }], rules => <