Searched refs:exp_buf (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate04.c | 76 static void check_file_data(const char exp_buf[], size_t size) in check_file_data() argument 85 if (memcmp(exp_buf, rbuf, size)) { in check_file_data() 87 tst_res_hexd(TINFO, exp_buf, size, "expected:"); in check_file_data() 161 char exp_buf[buf_size]; in test02() local 163 fill_tst_buf(exp_buf); in test02() 164 memset(exp_buf + block_size, 0, block_size); in test02() 166 check_file_data(exp_buf, buf_size); in test02() 203 char exp_buf[buf_size]; in test03() local 205 fill_tst_buf(exp_buf); in test03() 206 memset(exp_buf + block_size - 1, 0, block_size + 2); in test03() [all …]
|
/external/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd02.c | 35 static char exp_buf[PATH_MAX]; variable 92 if (strcmp(exp_buf, res)) { in verify_getcwd() 94 "expected: %s", res, exp_buf); in verify_getcwd() 111 if (!realpath(tmpdir, exp_buf)) in setup() 114 tst_res(TINFO, "Expected path '%s'", exp_buf); in setup()
|
/external/ltp/testcases/kernel/syscalls/readlinkat/ |
D | readlinkat01.c | 57 const char *exp_buf; member 92 if (test->exp_ret > 0 && strcmp(test->exp_buf, buf)) { in verify_readlinkat() 94 buf, test->exp_buf); in verify_readlinkat()
|