Home
last modified time | relevance | path

Searched refs:g_assert_no_errno (Results 1 – 10 of 10) sorted by relevance

/third_party/glib/gio/tests/
Dappmonitor.c14 g_assert_no_errno (g_mkdir_with_parents (fixture->applications_dir, 0755)); in setup()
23 g_assert_no_errno (g_rmdir (fixture->applications_dir)); in teardown()
Dgsettings.c42 g_assert_no_errno (g_rmdir (fixture->tmp_dir)); in teardown()
1859 g_assert_no_errno (g_chmod (keyfile_path, 0500)); in test_keyfile()
1874 g_assert_no_errno (g_chmod (keyfile_path, 0777)); in test_keyfile()
1875 g_assert_no_errno (g_remove (store_path)); in test_keyfile()
1876 g_assert_no_errno (g_rmdir (keyfile_path)); in test_keyfile()
1958 g_assert_no_errno (g_chmod (keyfile_path, 0777)); in test_keyfile_no_path()
1959 g_assert_no_errno (g_remove (store_path)); in test_keyfile_no_path()
1960 g_assert_no_errno (g_rmdir (keyfile_path)); in test_keyfile_no_path()
1989 g_assert_no_errno (g_rmdir (keyfile_path)); in test_keyfile_outside_root_path()
2019 g_assert_no_errno (g_rmdir (keyfile_path)); in test_keyfile_no_root_group()
Dlive-g-file.c152 g_assert_no_errno (mkdir (dac_denies_write, S_IRWXU)); in check_cap_dac_override()
153 g_assert_no_errno (chmod (dac_denies_write, 0)); in check_cap_dac_override()
158 g_assert_no_errno (rmdir (inside)); in check_cap_dac_override()
170 g_assert_no_errno (chmod (dac_denies_write, S_IRWXU)); in check_cap_dac_override()
171 g_assert_no_errno (rmdir (dac_denies_write)); in check_cap_dac_override()
Dfile.c999 g_assert_no_errno (mknod (g_file_peek_path (test_file), S_IFSOCK | setup_mode, 0)); in create_test_file()
/third_party/glib/glib/tests/
Dfileutils.c579 g_assert_no_errno (mkdir (dac_denies_write, S_IRWXU)); in check_cap_dac_override()
580 g_assert_no_errno (chmod (dac_denies_write, 0)); in check_cap_dac_override()
585 g_assert_no_errno (rmdir (inside)); in check_cap_dac_override()
597 g_assert_no_errno (chmod (dac_denies_write, S_IRWXU)); in check_cap_dac_override()
598 g_assert_no_errno (rmdir (dac_denies_write)); in check_cap_dac_override()
601 g_assert_no_errno (rmdir (safe_tmpdir)); in check_cap_dac_override()
635 g_assert_no_errno (g_mkdir (subdir, 0700)); in test_mkdir_with_parents_permission()
636 g_assert_no_errno (g_chmod (subdir, 0)); in test_mkdir_with_parents_permission()
654 g_assert_no_errno (g_chmod (subdir, 0700)); in test_mkdir_with_parents_permission()
657 g_assert_no_errno (g_remove (subdir)); in test_mkdir_with_parents_permission()
[all …]
Dspawn-singlethread.c483 g_assert_no_errno (fstat (tmp_fd, &statbuf)); in test_spawn_fd_assignment_clash()
Dtesting.c163 g_assert_no_errno (return_errno ()); in test_assertions_bad_no_errno()
197 g_assert_no_errno (return_no_errno ()); in test_assertions()
/third_party/glib/glib/
Dgtestutils.h159 #define g_assert_no_errno(expr) G_STMT_START { \ macro
/third_party/glib/docs/reference/glib/
Dglib-sections.txt3581 g_assert_no_errno
/third_party/glib/
DNEWS445 - !1731 Make more use of g_assert_no_errno()
790 * Add `g_assert_no_errno()` test macro for testing POSIX-style functions (!1204)
831 - !1204 gtestutils: Add a new g_assert_no_errno() test macro