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/d494f783c9ae
branches: trunk
changeset: 973206:d494f783c9ae
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 d22abe2de148 -r d494f783c9ae 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