Home
last modified time | relevance | path

Searched refs:WEXITSTATUS (Results 1 – 25 of 537) sorted by relevance

12345678910>>...22

/external/tensorflow/tensorflow/core/platform/
Dsubprocess_test.cc43 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST_F()
58 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST_F()
72 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST_F()
85 EXPECT_EQ(1, WEXITSTATUS(status)); in TEST_F()
99 EXPECT_EQ(1, WEXITSTATUS(status)); in TEST_F()
111 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST_F()
125 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST_F()
146 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST_F()
167 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST_F()
/external/ltp/testcases/kernel/syscalls/getrusage/
Dgetrusage03.c116 check_return(WEXITSTATUS(status), "initial.self ~= child.self", in inherit_fork()
145 check_return(WEXITSTATUS(status), "child.children == 0", in inherit_fork2()
173 check_return(WEXITSTATUS(status), "initial.self + 50MB ~= child.self", in fork_malloc()
191 if ((WIFEXITED(retval) && WEXITSTATUS(retval) != 0)) in grandchild_maxrss()
199 if (WEXITSTATUS(status) != 0) in grandchild_maxrss()
225 if ((WIFEXITED(retval) && WEXITSTATUS(retval) != 0)) in zombie()
241 if (WEXITSTATUS(status) != 0) in zombie()
268 if ((WIFEXITED(retval) && WEXITSTATUS(retval) != 0)) in sig_ign()
/external/selinux/libsepol/cil/test/unit/
Dtest_integration.c59 CuAssertIntEquals(tc, 0, WEXITSTATUS(status)); in test_integration()
61 CuAssertIntEquals(tc, 0, WEXITSTATUS(status1)); in test_integration()
63 CuAssertIntEquals(tc, 0, WEXITSTATUS(status2)); in test_integration()
75 CuAssertIntEquals(tc, 0, WEXITSTATUS(status)); in test_min_policy()
/external/ltp/testcases/kernel/syscalls/setpgid/
Dsetpgid03.c95 if (!(WIFEXITED(status)) || (WEXITSTATUS(status) != 0)) in main()
97 WEXITSTATUS(status)); in main()
124 if (!(WIFEXITED(status)) || (WEXITSTATUS(status) != 0)) in main()
126 WEXITSTATUS(status)); in main()
/external/grpc-grpc/test/cpp/interop/
Dinterop_test.cc65 if (WEXITSTATUS(status)) return WEXITSTATUS(status); in test_client()
129 if (WEXITSTATUS(status)) return WEXITSTATUS(status); in main()
/external/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c78 if (WEXITSTATUS(status) != 0) { in test_cpuset()
79 tst_res(TFAIL, "child exit status is %d", WEXITSTATUS(status)); in test_cpuset()
160 if (WEXITSTATUS(status) != 0) { in mem_hog_cpuset()
162 WEXITSTATUS(status)); in mem_hog_cpuset()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D3-1.c204 if (WEXITSTATUS(status) == 1) { in main()
208 if (WEXITSTATUS(status) == 2) { in main()
212 if (WEXITSTATUS(status) != 0) { in main()
D2-2.c221 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main()
231 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main()
241 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/
Dhelper.c180 if (WEXITSTATUS(status) == 0) { in main()
183 printf("Test %s: returned %d\n", argv[2], WEXITSTATUS(status)); in main()
185 exit(WEXITSTATUS(status)); in main()
/external/ltp/testcases/kernel/syscalls/unshare/
Dunshare01.c193 switch (WEXITSTATUS(rval)) { in main()
229 switch (WEXITSTATUS(rval)) { in main()
265 switch (WEXITSTATUS(rval)) { in main()
/external/ltp/testcases/kernel/containers/netns/
Dnetns_netlink.c142 if (WEXITSTATUS(system("ip tuntap add dev dummy0 mode tap"))) in test()
146 if (WEXITSTATUS(system("ip tuntap del mode tap dummy0"))) in test()
154 if (WIFEXITED(status) && WEXITSTATUS(status) != 0) { in test()
/external/ltp/testcases/kernel/syscalls/rename/
Drename09.c151 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main()
205 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main()
206 exit(WEXITSTATUS(status)); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-5.c205 if (WEXITSTATUS(status) == 0) { in threaded()
209 if (WEXITSTATUS(status) == PTS_UNRESOLVED) { in threaded()
217 WEXITSTATUS(status)); in threaded()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DUnix.h62 #ifndef WEXITSTATUS
63 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) macro
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py1136 def WEXITSTATUS(self, status): member in ChildWatcherTestsMixin
1155 patch('os.WEXITSTATUS', self.WEXITSTATUS) as m_WEXITSTATUS, \
1177 self.assertFalse(m.WEXITSTATUS.called)
1186 self.assertFalse(m.WEXITSTATUS.called)
1195 self.assertTrue(m.WEXITSTATUS.called)
1201 m.WEXITSTATUS.reset_mock()
1214 m.WEXITSTATUS.reset_mock()
1223 self.assertFalse(m.WEXITSTATUS.called)
1240 self.assertFalse(m.WEXITSTATUS.called)
1251 self.assertFalse(m.WEXITSTATUS.called)
[all …]
/external/jemalloc/test/unit/
Dfork.c43 if (WEXITSTATUS(status) != 0) { in TEST_BEGIN()
46 WEXITSTATUS(status)); in TEST_BEGIN()
/external/ltp/testcases/kernel/mem/tunable/
Dmin_free_kbytes.c77 if (WIFEXITED(status) && WEXITSTATUS(status) != 0) in min_free_kbytes_test()
123 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) in test_tune()
145 if (WEXITSTATUS(status) != 0) { in test_tune()
/external/ltp/testcases/kernel/syscalls/wait4/
Dwait401.c66 if (WEXITSTATUS(status)) in run()
67 tst_res(TFAIL, "WEXITSTATUS() != 0 but %i", WEXITSTATUS(status)); in run()
/external/dnsmasq/src/
Dlease.c114 if (!leasestream || (rc = pclose(leasestream)) == -1 || WEXITSTATUS(rc) == 127 || in lease_init()
115 WEXITSTATUS(rc) == 126) { in lease_init()
116 if (WEXITSTATUS(rc) == 127) in lease_init()
118 else if (WEXITSTATUS(rc) == 126) in lease_init()
123 if (WEXITSTATUS(rc) != 0) { in lease_init()
124 sprintf(daemon->dhcp_buff, "%d", WEXITSTATUS(rc)); in lease_init()
126 WEXITSTATUS(rc) + EC_INIT_OFFSET); in lease_init()
/external/strace/tests-mx32/
Dfilter-unavailable.c82 if (WEXITSTATUS(s)) in main()
83 return WEXITSTATUS(s); in main()
/external/strace/tests-m32/
Dfilter-unavailable.c82 if (WEXITSTATUS(s)) in main()
83 return WEXITSTATUS(s); in main()
/external/strace/tests/
Dfilter-unavailable.c82 if (WEXITSTATUS(s)) in main()
83 return WEXITSTATUS(s); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
D8-1.c216 && WEXITSTATUS(status) == 0) { in main()
221 && WEXITSTATUS(status) == 0) { in main()
226 && WEXITSTATUS(status) == 0) { in main()
/external/ltp/lib/
Dtst_supported_fs_types.c51 if (WEXITSTATUS(ret) == 127) { in has_mkfs()
94 if (WEXITSTATUS(ret) == 127) { in has_kernel_support()
/external/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl07.c99 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) { in do_test()
109 if (WIFEXITED(status) && WEXITSTATUS(status) == TCONF) in do_test()

12345678910>>...22