Lines Matching +full:end +full:- +full:failure
1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Make sure that writing to the read end of a pipe and reading from
8 * the write end of a pipe both fail.
22 if (TST_RET == -1) { in verify_pipe()
28 if (TST_RET == -1 && errno == EBADF) { in verify_pipe()
29 tst_res(TPASS | TTERRNO, "expected failure writing " in verify_pipe()
30 "to read end of pipe"); in verify_pipe()
32 tst_res(TFAIL | TTERRNO, "unexpected failure writing " in verify_pipe()
33 "to read end of pipe"); in verify_pipe()
37 if (TST_RET == -1 && errno == EBADF) { in verify_pipe()
38 tst_res(TPASS | TTERRNO, "expected failure reading " in verify_pipe()
39 "from write end of pipe"); in verify_pipe()
41 tst_res(TFAIL | TTERRNO, "unexpected failure reading " in verify_pipe()
42 "from write end of pipe"); in verify_pipe()