Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/kernel errno is irrelevant here.
details: https://anonhg.NetBSD.org/src/rev/358e49331cbb
branches: trunk
changeset: 935073:358e49331cbb
user: rin <rin%NetBSD.org@localhost>
date: Wed Jun 24 07:02:57 2020 +0000
description:
errno is irrelevant here.
diffstat:
tests/kernel/t_pty.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e83199e5c1f5 -r 358e49331cbb tests/kernel/t_pty.c
--- a/tests/kernel/t_pty.c Wed Jun 24 06:15:40 2020 +0000
+++ b/tests/kernel/t_pty.c Wed Jun 24 07:02:57 2020 +0000
@@ -1,4 +1,4 @@
-/* $Id: t_pty.c,v 1.4 2020/06/24 06:15:40 rin Exp $ */
+/* $Id: t_pty.c,v 1.5 2020/06/24 07:02:57 rin Exp $ */
/*
* Allocates a pty(4) device, and sends the specified number of packets of the
@@ -9,7 +9,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_pty.c,v 1.4 2020/06/24 06:15:40 rin Exp $");
+__RCSID("$NetBSD: t_pty.c,v 1.5 2020/06/24 07:02:57 rin Exp $");
#include <errno.h>
#include <err.h>
@@ -119,7 +119,7 @@
if (ioctl(fd, TIOCGQSIZE, &opt) == -1)
atf_tc_fail_errno("Couldn't get tty(4) buffer size");
if (opt != qsize)
- atf_tc_fail_errno("Wrong qsize %d != %d\n", qsize, opt);
+ atf_tc_fail("Wrong qsize %d != %d\n", qsize, opt);
}
if (tcgetattr(fd, &tios) == -1)
atf_tc_fail_errno("tcgetattr()");
Home |
Main Index |
Thread Index |
Old Index