Home
last modified time | relevance | path

Searched refs:tst_brk (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/external/ltp/testcases/lib/
Dtst_test.sh103 *) tst_brk TBROK "Invalid res type '$1'";;
122 tst_brk() function
141 tst_brk TBROK "$@ failed"
149 tst_brk TBROK "$@ failed"
182 tst_brk TBROK "TST_RETRY_FN_EXP_BACKOFF expects 3 parameters"
186 tst_brk TBROK "TST_RETRY_FN_EXP_BACKOFF: tst_sec must be integer ('$tst_sec')"
199 tst_brk TBROK "\"$tst_fun\" timed out"
209 tst_brk TBROK "TST_RETRY_FUNC expects 2 parameters"
227 echo "$output" | grep -q "$msg" && tst_brk TCONF "'$@': $msg"
230 tst_brk TBROK "$@ failed: $output"
[all …]
/external/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate04.c90 tst_brk(TFAIL, "not expected file data"); in check_file_data()
100 tst_brk(TCONF, "fallocate() not supported"); in test01()
101 tst_brk(TFAIL | TERRNO, "fallocate() failed"); in test01()
121 tst_brk(TCONF, in test02()
128 tst_brk(TCONF, in test02()
131 tst_brk(TFAIL | TERRNO, "fallocate() failed"); in test02()
140 tst_brk(TFAIL | TERRNO, in test02()
147 tst_brk(TBROK | TERRNO, in test02()
159 tst_brk(TFAIL, "not expected allocated size"); in test02()
176 tst_brk(TCONF, in test03()
[all …]
Dfallocate05.c51 tst_brk(TBROK | TERRNO, in run()
66 tst_brk(TFAIL, "fallocate() succeeded unexpectedly"); in run()
69 tst_brk(TFAIL | TERRNO, "fallocate() should fail with ENOSPC"); in run()
76 tst_brk(TCONF, TESTED_FLAGS); in run()
78 tst_brk(TBROK | TERRNO, TESTED_FLAGS); in run()
/external/ltp/testcases/kernel/syscalls/request_key/
Drequest_key04.c41 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in do_test()
46 tst_brk(TBROK | TTERRNO, in do_test()
53 tst_brk(TBROK | TTERRNO, in do_test()
60 tst_brk(TBROK | TTERRNO, "failed to read from session keyring"); in do_test()
62 tst_brk(TBROK, "session keyring is not empty"); in do_test()
66 tst_brk(TBROK, "request_key() unexpectedly succeeded"); in do_test()
72 tst_brk(TBROK | TTERRNO, "failed to read from session keyring"); in do_test()
74 tst_brk(TFAIL, "added key to keyring without permission"); in do_test()
Drequest_key03.c70 tst_brk(TBROK | TTERRNO, "failed to join new session keyring"); in test_with_key_type()
80 tst_brk(TBROK | TTERRNO, in test_with_key_type()
113 tst_brk(TBROK | TTERRNO, in test_with_key_type()
119 tst_brk(TBROK | TTERRNO, in test_with_key_type()
133 tst_brk(TBROK | TTERRNO, in test_with_key_type()
160 tst_brk(TBROK, "add_key child %s", tst_strstatus(status)); in test_with_key_type()
174 tst_brk(TBROK, "request_key child %s", tst_strstatus(status)); in test_with_key_type()
/external/ltp/testcases/kernel/syscalls/sigpending/
Dsigpending02.c58 tst_brk(TBROK, "sigprocmask failed"); in test_sigpending()
69 tst_brk(TFAIL, in test_sigpending()
74 tst_brk(TBROK, "raising SIGUSR1 failed"); in test_sigpending()
76 tst_brk(TFAIL, in test_sigpending()
84 tst_brk(TFAIL, "only SIGUSR1 should be pending by now"); in test_sigpending()
88 tst_brk(TBROK, "raising SIGUSR2 failed"); in test_sigpending()
90 tst_brk(TFAIL, in test_sigpending()
98 tst_brk(TFAIL, in test_sigpending()
105 tst_brk(TBROK, "sigprocmask failed"); in test_sigpending()
109 tst_brk(TFAIL, in test_sigpending()
/external/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl07.c53 tst_brk(TBROK, "request_key() unexpectedly succeeded"); in try_to_read_negative_key()
56 tst_brk(TBROK | TTERRNO, in try_to_read_negative_key()
64 tst_brk(TBROK | TTERRNO, "KEYCTL_READ unexpectedly failed"); in try_to_read_negative_key()
66 tst_brk(TBROK, "KEYCTL_READ returned %ld but expected %zu", in try_to_read_negative_key()
77 tst_brk(TFAIL, in try_to_read_negative_key()
81 tst_brk(TFAIL | TTERRNO, in try_to_read_negative_key()
110 tst_brk(TCONF, "syscall not implemented"); in do_test()
112 tst_brk(TBROK, "Child %s", tst_strstatus(status)); in do_test()
/external/ltp/lib/
Dtst_test.c102 tst_brk(TBROK | TERRNO, "open(%s)", shm_path); in setup_ipc()
148 tst_brk(TBROK, IPC_ENV_VAR" is not defined"); in tst_reinit()
151 tst_brk(TBROK, "File %s does not exist!", path); in tst_reinit()
212 tst_brk(TBROK, "Invalid ttype value %i", ttype); in print_result()
342 tst_brk(TBROK, "Child (%i) killed by signal %s", in check_child_status()
347 tst_brk(TBROK, "Child (%i) exited abnormaly", pid); in check_child_status()
355 tst_brk(ret, "Reported by child (%i)", pid); in check_child_status()
358 tst_brk(TBROK, "Invalid child (%i) exit value %i", pid, ret); in check_child_status()
381 tst_brk(TBROK | TERRNO, "wait() failed"); in tst_reap_children()
391 tst_brk(TBROK, "test.forks_child must be set!"); in safe_fork()
[all …]
Dtst_safe_sysv_ipc.c50 tst_brk(TBROK | TERRNO, "%s:%d: msgget(%i, %x) failed", in safe_msgget()
64 tst_brk(TBROK | TERRNO, in safe_msgsnd()
79 tst_brk(TBROK | TERRNO, in safe_msgrcv()
94 tst_brk(TBROK | TERRNO, in safe_msgctl()
110 tst_brk(TBROK | TERRNO, "%s:%d: shmget(%i, %zu, %x) failed", in safe_shmget()
124 tst_brk(TBROK | TERRNO, "%s:%d: shmat(%i, %p, %x) failed", in safe_shmat()
137 tst_brk(TBROK | TERRNO, "%s:%d: shmdt(%p) failed", in safe_shmdt()
151 tst_brk(TBROK | TERRNO, in safe_shmctl()
Dtst_crypto.c31 tst_brk(TCONF | TTERRNO, "NETLINK_CRYPTO is probably disabled"); in tst_crypto_open()
34 tst_brk(TBROK | TTERRNO, in tst_crypto_open()
59 tst_brk(TBROK, in tst_crypto_recv_ack()
70 tst_brk(TBROK, "Unexpected message type; type=0x%hx, seq_num=%u", in tst_crypto_recv_ack()
74 tst_brk(TBROK, "Empty message from netlink socket?"); in tst_crypto_recv_ack()
116 tst_brk(TBROK | TERRNO, "usleep(1)"); in tst_crypto_del_alg()
/external/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages12.c122 tst_brk(TBROK, "Failed to mmap at desired addr"); in do_test()
151 tst_brk(TCONF, "Cannot allocate huge pages"); in alloc_free_huge_on_node()
153 tst_brk(TBROK | TERRNO, "mmap(..., MAP_HUGETLB, ...) failed"); in alloc_free_huge_on_node()
158 tst_brk(TBROK | TERRNO, "numa_bitmask_alloc() failed"); in alloc_free_huge_on_node()
165 tst_brk(TCONF, "Cannot mbind huge pages"); in alloc_free_huge_on_node()
167 tst_brk(TBROK | TERRNO, "mbind() failed"); in alloc_free_huge_on_node()
174 tst_brk(TCONF, "Cannot lock huge pages"); in alloc_free_huge_on_node()
175 tst_brk(TBROK | TTERRNO, "mlock failed"); in alloc_free_huge_on_node()
191 tst_brk(TCONF, "Huge page not supported"); in setup()
195 tst_brk(TBROK | TERRNO, "get_allowed_nodes: %d", ret); in setup()
[all …]
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/
Dlibnewipc.c53 tst_brk(TBROK | TERRNO, in getipckey()
68 tst_brk(TBROK | TERRNO, in get_used_queues()
78 tst_brk(TBROK, "can't read /proc/sysvipc/msg to get " in get_used_queues()
95 tst_brk(TBROK, "probe: shmget() failed at %s:%d", file, lineno); in probe_free_addr()
99 tst_brk(TBROK, "probe: shmat() failed at %s:%d", file, lineno); in probe_free_addr()
102 tst_brk(TBROK, "probe: shmdt() failed at %s:%d", file, lineno); in probe_free_addr()
105 tst_brk(TBROK, "probe: shmctl() failed at %s:%d", file, lineno); in probe_free_addr()
/external/ltp/testcases/network/dhcp/
Ddhcp_lib.sh53 tst_brk TBROK "failed to add veth $iface0"
56 ip li set up $iface0 || tst_brk TBROK "failed to bring $iface0 up"
57 ip li set up $iface1 || tst_brk TBROK "failed to bring $iface1 up"
59 stop_dhcp || tst_brk TBROK "Failed to stop dhcp server"
69 tst_brk TBROK "failed to add ip address"
104 tst_brk TBROK "Failed to start $dhcp_name"
111 tst_brk TBROK "Failed to start $dhcp_name"
121 dhclient -$TST_IPVER $iface1 || tst_brk TBROK "dhclient failed"
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx04.c47 tst_brk(TFAIL | TTERRNO, in test_flagged()
81 tst_brk(TFAIL | TTERRNO, in test_unflagged()
127 tst_brk(TCONF | TERRNO, "FS_IOC_GETFLAGS not supported"); in caid_flags_setup()
131 tst_brk(TCONF | TERRNO, in caid_flags_setup()
135 tst_brk(TBROK | TERRNO, "ioctl(%i, FS_IOC_GETFLAGS, ...)", fd); in caid_flags_setup()
143 tst_brk(TCONF, "Flags not supported"); in caid_flags_setup()
144 tst_brk(TBROK | TERRNO, "ioctl(%i, FS_IOC_SETFLAGS, %i)", fd, attr); in caid_flags_setup()
156 tst_brk(TCONF, "Btrfs statx() supported since 4.13"); in setup()
/external/ltp/testcases/network/tcp_cmds/ipneigh/
Dipneigh01.sh38 tst_brk TCONF "'arp' doesn't support IPv6"
44 tst_brk TBROK "unknown or missing command, use -c [ arp | ip ]"
73 tst_brk TFAIL "cannot ping $(tst_ipaddr rhost)"
87 tst_brk TFAIL "$entry_name entry '$(tst_ipaddr rhost)' not listed"
89 $DEL_CMD || tst_brk TFAIL "fail to delete entry"
92 tst_brk TFAIL "'$DEL_CMD' failed, entry has " \
/external/ltp/testcases/kernel/syscalls/ptrace/
Dptrace07.c117 tst_brk(TBROK | TTERRNO, "PTRACE_ATTACH failed"); in do_test()
123 tst_brk(TCONF, "GETREGSET/SETREGSET is unsupported"); in do_test()
126 tst_brk(TCONF, "NT_X86_XSTATE is unsupported"); in do_test()
129 tst_brk(TCONF, "CPU doesn't support XSAVE instruction"); in do_test()
131 tst_brk(TBROK | TTERRNO, in do_test()
152 tst_brk(TBROK | TTERRNO, in do_test()
167 tst_brk(TBROK | TTERRNO, "PTRACE_DETACH failed"); in do_test()
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify01.c75 tst_brk(TBROK | TERRNO, in verify_inotify()
82 tst_brk(TBROK | TERRNO, in verify_inotify()
93 tst_brk(TBROK, in verify_inotify()
100 tst_brk(TBROK, in verify_inotify()
115 tst_brk(TBROK, in verify_inotify()
172 tst_brk(TCONF, in setup()
175 tst_brk(TBROK | TERRNO, in setup()
181 tst_brk(TBROK | TERRNO, in setup()
/external/ltp/testcases/kernel/syscalls/execle/
Dexecle01_child.c30 tst_brk(TFAIL, "argc is %d, expected 2", argc); in main()
33 tst_brk(TFAIL, "argv[1] is %s, expected 'canary'", argv[1]); in main()
38 tst_brk(TFAIL, "LTP_TEST_ENV_VAR is missing"); in main()
41 tst_brk(TFAIL, "LTP_TEST_ENV_VAR='%s', expected test", env); in main()
44 tst_brk(TFAIL, "PATH is in environment"); in main()
/external/ltp/testcases/kernel/syscalls/execve/
Dexecve01_child.c30 tst_brk(TFAIL, "argc is %d, expected 2", argc); in main()
33 tst_brk(TFAIL, "argv[1] is %s, expected 'canary'", argv[1]); in main()
38 tst_brk(TFAIL, "LTP_TEST_ENV_VAR is missing"); in main()
41 tst_brk(TFAIL, "LTP_TEST_ENV_VAR='%s', expected test", env); in main()
44 tst_brk(TFAIL, "PATH is in environment"); in main()
/external/ltp/testcases/network/netstress/
Dnetstress.c272 tst_brk(TFAIL, "too many pmtu errors %d", in client_recv()
291 tst_brk(TFAIL, "client requests timeout %d times, last timeout %dms", in client_recv()
318 tst_brk(TFAIL, "port not zero after bind(): %d", port); in bind_before_connect()
452 tst_brk(TBROK, "getaddrinfo failed, %s", gai_strerror(err)); in setup_addrinfo()
455 tst_brk(TBROK, "failed to get the address"); in setup_addrinfo()
461 tst_brk(TBROK, "Unexpected num of clients '%d'", in client_init()
497 tst_brk(TBROK, "client[%d] failed: %s", in client_run()
644 tst_brk(TBROK, "Server closed"); in server_fn()
757 tst_brk(TBROK | TERRNO, "setdetachstate failed"); in server_run()
764 tst_brk(TBROK, "Can't create client socket"); in server_run()
[all …]
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap06.c61 tst_brk(TCONF, "System RAM is not enough to test."); in setup()
102 tst_brk(TCONF, in do_mmap()
106 tst_brk(TBROK | TERRNO, "Cannot allocate hugepage"); in do_mmap()
115 tst_brk(TBROK | TRERRNO, in do_mmap()
124 tst_brk(TFAIL | TERRNO, "mmap failed"); in do_mmap()
132 tst_brk(TBROK | TRERRNO, in do_mmap()
137 tst_brk(TFAIL | TERRNO, "huge munmap failed"); in do_mmap()
/external/ltp/testcases/kernel/mem/swapping/
Dswapping01.c67 tst_brk(TCONF, "test is not designed for 32-bit system."); in test_swapping()
94 tst_brk(TCONF, "Not enough available mem to test."); in init_meminfo()
97 tst_brk(TCONF, "Not enough swap space to test."); in init_meminfo()
113 tst_brk(TBROK | TERRNO, "kill"); in do_alloc()
125 tst_brk(TBROK, "child was not stopped."); in check_swapping()
142 tst_brk(TFAIL, "heavy swapping detected: " in check_swapping()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c177 tst_brk(TBROK|TERRNO, "get_allowed_nodes_arr"); in set_global_mempolicy()
202 tst_brk(TBROK|TERRNO, "Bad mempolicy mode"); in set_global_mempolicy()
205 tst_brk(TBROK|TERRNO, "set_mempolicy"); in set_global_mempolicy()
312 tst_brk(TCONF, "Huge page is not supported."); in check_hugepage()
373 tst_brk(TBROK|TERRNO, "madvise"); in create_ksm_child()
379 tst_brk(TBROK|TERRNO, "kill"); in create_ksm_child()
391 tst_brk(TBROK|TERRNO, "kill"); in create_ksm_child()
415 tst_brk(TBROK, "child %d was not stopped", k); in stop_ksm_children()
537 tst_brk(TBROK|TERRNO, "get_allowed_nodes_arr"); in test_ksm_merge_across_nodes()
553 tst_brk(TBROK|TERRNO, "madvise"); in test_ksm_merge_across_nodes()
[all …]
/external/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages03.c62 tst_brk(TCONF, "KSM configuration was not enabled"); in setup()
65 tst_brk(TBROK | TERRNO, "get_allowed_nodes() failed"); in setup()
68 tst_brk(TCONF, "requires NUMA with at least %d node", in setup()
88 tst_brk(TCONF | TERRNO, "madvise() didn't " in setup()
92 tst_brk(TBROK | TERRNO, in setup()
98 tst_brk(TBROK | TERRNO, "mbind(MPOL_BIND) failed"); in setup()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify06.c77 tst_brk(TBROK | TERRNO, in create_fanotify_groups()
91 tst_brk(TBROK | TERRNO, in create_fanotify_groups()
154 tst_brk(TBROK | TERRNO, in test01()
158 tst_brk(TBROK, in test01()
183 tst_brk(TBROK, "zero length " in test01()
186 tst_brk(TBROK | TERRNO, in test01()
215 tst_brk(TBROK | TERRNO, "umount failed"); in cleanup()

12345678910>>...13