Home
last modified time | relevance | path

Searched refs:expected_err (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.81.4/tests/vfs/
H A Dstatfs_ext.c79 statfs_compare(const char *path, struct statfs *sfs_ext, int mode, int flag, int expected_err) in statfs_compare() argument
84 …0x%x, expected_err %d", path, (void *) sfs_ext, mode_name[mode], (unsigned int)flag, expected_err); in statfs_compare()
92 if (expected_err) { in statfs_compare()
93 …_ext(path, sfs_ext, flag), expected_err, "Verifying that statfs_ext() fails with %d (%s)", expecte… in statfs_compare()
101 if (expected_err) { in statfs_compare()
102 …s_ext(fd, sfs_ext, flag), expected_err, "Verifying that fstatfs_ext() fails with %d (%s)", expecte… in statfs_compare()
113 if (expected_err) { in statfs_compare()
H A Dsandbox_type_error.c67 test_path(char *deny_path, char *stat_path, int expected_err) in test_path() argument
103 if ((!error && !expected_err) || (error == -1 && errno == expected_err)) { in test_path()
129 …'%s' should FAIL with '%s', got '%s'", stat_path, deny_path, strerror(expected_err), strerror(WEXI… in test_path()
133 if (expected_err) { in test_path()
134 … '%s' with deny path of '%s' should FAIL with '%s'", stat_path, deny_path, strerror(expected_err)); in test_path()