]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-15-DROPINS: improve check 18911/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 7 Mar 2021 11:27:55 +0000 (12:27 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 7 Mar 2021 11:27:55 +0000 (12:27 +0100)
https://github.com/systemd/systemd/pull/18579#discussion_r588983813

test/units/testsuite-15.sh

index bf6a5c7a8763a85e4283679bbd757d8c40477ddc..23a39bf09014cd1721a25b83c88d9cda0940dce7 100755 (executable)
@@ -144,7 +144,8 @@ test_linked_units () {
 
     check_ok test15-a Names test15-a.service
     check_ok test15-a Names test15-b.service
-    check_ko test15-a Names test15-b@
+    check_ko test15-a Names test15-a@     # test15-a@.scope is the symlink target.
+                                          # Make sure it is completely ignored.
 
     rm /test15-a@.scope
     clear_services test15-a test15-b