Lines Matching refs:UNIT_NAME_ANY
42 test_unit_name_is_valid_one("foo.service", UNIT_NAME_ANY, true); in TEST()
48 test_unit_name_is_valid_one("foo@bar.service", UNIT_NAME_ANY, true); in TEST()
54 test_unit_name_is_valid_one("foo@bar@bar.service", UNIT_NAME_ANY, true); in TEST()
60 test_unit_name_is_valid_one("foo@.service", UNIT_NAME_ANY, true); in TEST()
67 test_unit_name_is_valid_one("_strange::::.service", UNIT_NAME_ANY, true); in TEST()
69 test_unit_name_is_valid_one(".service", UNIT_NAME_ANY, false); in TEST()
70 test_unit_name_is_valid_one("", UNIT_NAME_ANY, false); in TEST()
71 test_unit_name_is_valid_one("foo.waldo", UNIT_NAME_ANY, false); in TEST()
72 test_unit_name_is_valid_one("@.service", UNIT_NAME_ANY, false); in TEST()
73 test_unit_name_is_valid_one("@piep.service", UNIT_NAME_ANY, false); in TEST()
75 test_unit_name_is_valid_one("user@1000.slice", UNIT_NAME_ANY, true); in TEST()
79 test_unit_name_is_valid_one("foo@%i.service", UNIT_NAME_ANY, false); in TEST()
85 test_unit_name_is_valid_one("foo.target.wants/plain.service", UNIT_NAME_ANY, false); in TEST()
86 test_unit_name_is_valid_one("foo.target.conf/foo.conf", UNIT_NAME_ANY, false); in TEST()
87 test_unit_name_is_valid_one("foo.target.requires/plain.socket", UNIT_NAME_ANY, false); in TEST()
211 assert_se(unit_name_is_valid(t, UNIT_NAME_ANY) || in test_unit_name_mangle_one()