Searched refs:exp_buf (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate04.c | 62 static void check_file_data(const char exp_buf[], size_t size) in check_file_data() argument 71 if (memcmp(exp_buf, rbuf, size)) { in check_file_data() 73 tst_res_hexd(TINFO, exp_buf, size, "expected:"); in check_file_data() 147 char exp_buf[buf_size]; in test02() local 149 fill_tst_buf(exp_buf); in test02() 150 memset(exp_buf + block_size, 0, block_size); in test02() 152 check_file_data(exp_buf, buf_size); in test02() 189 char exp_buf[buf_size]; in test03() local 191 fill_tst_buf(exp_buf); in test03() 192 memset(exp_buf + block_size - 1, 0, block_size + 2); in test03() [all …]
|
/external/ltp/testcases/kernel/syscalls/getcwd/ |
D | getcwd02.c | 23 static char exp_buf[PATH_MAX]; variable 80 if (strcmp(exp_buf, res)) { in verify_getcwd() 82 "expected: %s", res, exp_buf); in verify_getcwd() 99 if (!realpath(tmpdir, exp_buf)) in setup() 102 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()
|