Lines Matching full:ini
84 check(profile_init_path("test2.ini", &p)); in test_iterate()
112 (void)unlink("test3.ini"); in test_iterate()
113 profile_flush_to_file(p, "test3.ini"); in test_iterate()
118 check(profile_init_path("test3.ini", &p)); in test_iterate()
137 system("cp test2.ini test3.ini"); in test_shared()
140 check(profile_init_path("test3.ini", &a)); in test_shared()
150 utime("test3.ini", ×); in test_shared()
151 check(profile_init_path("test3.ini", &b)); in test_shared()
160 check(profile_init_path("test3.ini", &a)); in test_shared()
173 check(profile_init_path("test2.ini", &p)); in test_clear()
193 write_file("testinc.ini", 1, "include does-not-exist"); in test_include()
194 check_fail(profile_init_path("testinc.ini", &p), PROF_FAIL_INCLUDE_FILE); in test_include()
197 write_file("testinc.ini", 1, "includedir does-not-exist"); in test_include()
198 check_fail(profile_init_path("testinc.ini", &p), PROF_FAIL_INCLUDE_DIR); in test_include()
201 write_file("testinc.ini", 1, "include test2.ini"); in test_include()
202 check(profile_init_path("testinc.ini", &p)); in test_include()
209 * Test including a directory. Put four copies of test2.ini inside the in test_include()
215 system("cp test2.ini test_include_dir/a"); in test_include()
216 system("cp test2.ini test_include_dir/a~"); in test_include()
217 system("cp test2.ini test_include_dir/b.conf"); in test_include()
218 system("cp test2.ini test_include_dir/b.conf.rpmsave"); in test_include()
219 write_file("testinc.ini", 1, "includedir test_include_dir"); in test_include()
220 check(profile_init_path("testinc.ini", &p)); in test_include()
248 write_file("testinc.ini", 6, "[sec1]", "var = {", "a = 1", in test_independence()
249 "include testinc2.ini", "c = 3", "}"); in test_independence()
250 write_file("testinc2.ini", 2, "[sec2]", "b = 2"); in test_independence()
252 check(profile_init_path("testinc.ini", &p)); in test_independence()
275 check(profile_init_path("test2.ini", &p)); in test_delete_section()
298 check(profile_init_path("test2.ini", &p)); in test_delete_clear_relation()
314 check(profile_init_path("test2.ini", &p)); in test_delete_ordering()
338 check(profile_init_path("test2.ini", &p)); in test_flush_to_file()
339 unlink("test3.ini"); in test_flush_to_file()
340 check(profile_flush_to_file(p, "test3.ini")); in test_flush_to_file()
345 profile_init_path("test2.ini", &p); in test_flush_to_file()
359 check(profile_init_path("test2.ini", &p)); in test_merge_subsections()
400 profile_flush_to_file(p, "test3.ini"); in test_empty()
403 profile_init_path("test3.ini", &p); in test_empty()