Searched refs:show_result (Results 1 – 8 of 8) sorted by relevance
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_new_file_test.c | 28 static void show_result(int result, char should_success) in show_result() function 128 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0), 1); in stage_file_test() 130 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0), 0); in stage_file_test() 134 show_result(write_sysctl(TEST_SYSCTL_PATH, buffer), 1); in stage_file_test() 136 show_result(write_sysctl(TEST_SYSCTL_PATH, buffer), 0); in stage_file_test() 140 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0) && in stage_file_test() 143 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0) && in stage_file_test() 148 show_result(uselib("/bin/true"), 1); in stage_file_test() 150 show_result(uselib("/bin/true"), 0); in stage_file_test() 169 show_result(error ? EOF : 0, 1); in stage_file_test() [all …]
|
D | tomoyo_file_test.c | 35 static void show_result(int result) in show_result() function 82 show_result(read_sysctl(TEST_SYSCTL_PATH, NULL, 0)); in stage_file_test() 84 show_result(write_sysctl(TEST_SYSCTL_PATH, buffer)); in stage_file_test() 89 show_result(uselib("/bin/true")); in stage_file_test() 108 show_result(error ? EOF : 0); in stage_file_test() 113 show_result(fd); in stage_file_test() 119 show_result(fd); in stage_file_test() 125 show_result(fd); in stage_file_test() 131 show_result(fd); in stage_file_test() 137 show_result(fd); in stage_file_test() [all …]
|
D | tomoyo_rewrite_test.c | 35 static void show_result(int result) in show_result() function 78 show_result(fd); in stage_rewrite_test() 83 show_result(fd); in stage_rewrite_test() 89 show_result(fd); in stage_rewrite_test() 94 show_result(fd); in stage_rewrite_test() 99 show_result(fd); in stage_rewrite_test() 103 show_result(truncate(REWRITE_PATH, 0)); in stage_rewrite_test() 107 show_result(ftruncate(fd, 0)); in stage_rewrite_test() 110 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test() 123 show_result(fd); in stage_rewrite_test() [all …]
|
D | tomoyo_new_test.c | 29 static void show_result(const char *test, int should_success) in show_result() function 628 show_result(tests[i].policy, !should_fail); in main() 644 show_result(tests[i].name, 1); in main()
|
/external/linux-kselftest/tools/testing/selftests/pstore/ |
D | pstore_tests | 14 show_result $? 18 show_result $? 23 show_result $?
|
D | common_tests | 20 show_result() { # result_value function 48 show_result $? 78 show_result $?
|
D | pstore_post_reboot_tests | 58 show_result $? 66 show_result $?
|
/external/llvm-project/llvm/utils/lit/lit/ |
D | display.py | 47 show_result = test.isFailure() or \ 50 if show_result:
|