Home
last modified time | relevance | path

Searched refs:WEXITSTATUS (Results 1 – 25 of 533) 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/ltp/testcases/kernel/syscalls/setuid/
Dsetuid04.c70 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) in main()
71 tst_resm(WEXITSTATUS(status), in main()
137 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) in do_master_child()
138 exit(WEXITSTATUS(status)); in do_master_child()
/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/stress/threads/
Dhelper.c183 if (WEXITSTATUS(status) == 0) { in main()
186 printf("Test %s: returned %d\n", argv[2], WEXITSTATUS(status)); in main()
188 exit(WEXITSTATUS(status)); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D3-1.c207 if (WEXITSTATUS(status) == 1) { in main()
211 if (WEXITSTATUS(status) == 2) { in main()
215 if (WEXITSTATUS(status) != 0) { in main()
D2-2.c223 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main()
233 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main()
243 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) { in main()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py883 def WEXITSTATUS(self, status): member in ChildWatcherTestsMixin
902 patch('os.WEXITSTATUS', self.WEXITSTATUS) as m_WEXITSTATUS, \
924 self.assertFalse(m.WEXITSTATUS.called)
933 self.assertFalse(m.WEXITSTATUS.called)
942 self.assertTrue(m.WEXITSTATUS.called)
948 m.WEXITSTATUS.reset_mock()
961 m.WEXITSTATUS.reset_mock()
970 self.assertFalse(m.WEXITSTATUS.called)
987 self.assertFalse(m.WEXITSTATUS.called)
998 self.assertFalse(m.WEXITSTATUS.called)
[all …]
/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/valgrind/none/tests/
Dasync-sigs.c70 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { in do_kill()
73 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status)); in do_kill()
129 WIFEXITED(status) ? WEXITSTATUS(status) : WTERMSIG(status)); in test()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-5.c212 if (WEXITSTATUS(status) == 0) { in threaded()
216 if (WEXITSTATUS(status) == PTS_UNRESOLVED) { in threaded()
224 WEXITSTATUS(status)); in threaded()
/external/syslinux/mtools/
Dsyslinux.c172 if (!WIFEXITED(status) || WEXITSTATUS(status)) { in move_file()
312 (status = pclose(mtp), !WIFEXITED(status) || WEXITSTATUS(status))) { in main()
353 if (!WIFEXITED(status) || WEXITSTATUS(status)) { in main()
367 (status = pclose(mtp), !WIFEXITED(status) || WEXITSTATUS(status))) { in main()
378 if (!WIFEXITED(status) || WEXITSTATUS(status)) { in main()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DUnix.h62 #ifndef WEXITSTATUS
63 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) macro
/external/jemalloc/test/unit/
Dfork.c43 if (WEXITSTATUS(status) != 0) { in TEST_BEGIN()
46 WEXITSTATUS(status)); in TEST_BEGIN()
/external/valgrind/none/tests/solaris/
Dblock_all_signals.c50 if (WEXITSTATUS(status) == 0) { in main()
55 WEXITSTATUS(status)); in main()
/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/dnsmasq/src/
Dlease.c122 …if (!leasestream || (rc = pclose(leasestream)) == -1 || WEXITSTATUS(rc) == 127 || WEXITSTATUS(rc) … in lease_init()
124 if (WEXITSTATUS(rc) == 127) in lease_init()
126 else if (WEXITSTATUS(rc) == 126) in lease_init()
131 if (WEXITSTATUS(rc) != 0) in lease_init()
133 sprintf(daemon->dhcp_buff, "%d", WEXITSTATUS(rc)); in lease_init()
134 …die(_("lease-init script returned exit code %s"), daemon->dhcp_buff, WEXITSTATUS(rc) + EC_INIT_OFF… in lease_init()
/external/strace/tests-mx32/
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/strace/tests-m32/
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()

12345678910>>...22