Searched refs:test_unit_name_from_path_instance_one (Results 1 - 1 of 1) sorted by relevance
/systemd/src/test/ |
H A D | test-unit-name.c | 114 static void test_unit_name_from_path_instance_one(const char *pattern, const char *path, const char *suffix, const char *expected, int ret) { function 133 test_unit_name_from_path_instance_one("waldo", "/waldo", ".mount", "waldo@waldo.mount", 0); 134 test_unit_name_from_path_instance_one("waldo", "/waldo////quuix////", ".mount", "waldo@waldo-quuix.mount", 0); 135 test_unit_name_from_path_instance_one("waldo", "/", ".mount", "waldo@-.mount", 0); 136 test_unit_name_from_path_instance_one("waldo", "", ".mount", "waldo@-.mount", 0); 137 test_unit_name_from_path_instance_one("waldo", "///", ".mount", "waldo@-.mount", 0); 138 test_unit_name_from_path_instance_one("waldo", "..", ".mount", NULL, -EINVAL); 139 test_unit_name_from_path_instance_one("waldo", "/foo", ".waldi", NULL, -EINVAL); 140 test_unit_name_from_path_instance_one("wa--ldo", "/--", ".mount", "wa--ldo@\\x2d\\x2d.mount", 0);
|
Completed in 1113 milliseconds