Lines Matching refs:UNIT_NAME_INSTANCE
35 (flags & UNIT_NAME_INSTANCE) ? " instance" : "", in test_unit_name_is_valid_one()
44 test_unit_name_is_valid_one("foo.service", UNIT_NAME_INSTANCE, false); in TEST()
46 test_unit_name_is_valid_one("foo.service", UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE, false); in TEST()
50 test_unit_name_is_valid_one("foo@bar.service", UNIT_NAME_INSTANCE, true); in TEST()
52 test_unit_name_is_valid_one("foo@bar.service", UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE, true); in TEST()
56 test_unit_name_is_valid_one("foo@bar@bar.service", UNIT_NAME_INSTANCE, true); in TEST()
58 … test_unit_name_is_valid_one("foo@bar@bar.service", UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE, true); in TEST()
62 test_unit_name_is_valid_one("foo@.service", UNIT_NAME_INSTANCE, false); in TEST()
64 test_unit_name_is_valid_one("foo@.service", UNIT_NAME_INSTANCE|UNIT_NAME_TEMPLATE, true); in TEST()
76 test_unit_name_is_valid_one("user@1000.slice", UNIT_NAME_INSTANCE, true); in TEST()
80 test_unit_name_is_valid_one("foo@%i.service", UNIT_NAME_INSTANCE, false); in TEST()
81 test_unit_name_is_valid_one("foo@%%i.service", UNIT_NAME_INSTANCE, false); in TEST()
82 test_unit_name_is_valid_one("foo@%%i%f.service", UNIT_NAME_INSTANCE, false); in TEST()
83 test_unit_name_is_valid_one("foo@%F.service", UNIT_NAME_INSTANCE, false); in TEST()
549 assert_se(r == UNIT_NAME_INSTANCE); in TEST()
559 assert_se(r == UNIT_NAME_INSTANCE); in TEST()