Searched refs:def (Results 1 - 1 of 1) sorted by relevance

/systemd/src/test/
H A Dtest-install-root.c308 _cleanup_free_ char *def = NULL; local
319 assert_se(unit_file_get_default(UNIT_FILE_SYSTEM, root, &def) == -ENOENT);
326 assert_se(unit_file_get_default(UNIT_FILE_SYSTEM, root, &def) == -ENOENT);
337 assert_se(unit_file_get_default(UNIT_FILE_SYSTEM, root, &def) >= 0);
338 assert_se(streq_ptr(def, "test-default-real.target"));
375 assert_se(unit_file_get_state(UNIT_FILE_SYSTEM, root, "template@def.service", &state) == -ENOENT);
382 "DefaultInstance=def\n"
389 assert_se(unit_file_get_state(UNIT_FILE_SYSTEM, root, "template@def.service", &state) >= 0 && state == UNIT_FILE_DISABLED);
392 assert_se(unit_file_get_state(UNIT_FILE_SYSTEM, root, "template-symlink@def.service", &state) >= 0 && state == UNIT_FILE_DISABLED);
399 p = strjoina(root, SYSTEM_CONFIG_UNIT_PATH"/multi-user.target.wants/template@def
[all...]

Completed in 2543 milliseconds