Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libcurses/director Unset ESCDELAY in libcurses tes...
details: https://anonhg.NetBSD.org/src/rev/2d34b86fe179
branches: trunk
changeset: 983833:2d34b86fe179
user: mcf <mcf%NetBSD.org@localhost>
date: Thu Jun 10 07:21:07 2021 +0000
description:
Unset ESCDELAY in libcurses test director to ensure consistent results
Non-default values of ESCDELAY may result in unexpected test failures.
diffstat:
tests/lib/libcurses/director/director.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r fa35d07f278f -r 2d34b86fe179 tests/lib/libcurses/director/director.c
--- a/tests/lib/libcurses/director/director.c Thu Jun 10 07:15:40 2021 +0000
+++ b/tests/lib/libcurses/director/director.c Thu Jun 10 07:21:07 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: director.c,v 1.28 2021/02/13 09:18:12 rillig Exp $ */
+/* $NetBSD: director.c,v 1.29 2021/06/10 07:21:07 mcf Exp $ */
/*-
* Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -195,6 +195,9 @@
if (setenv("TERM", term, 1) != 0)
err(2, "Failed to set TERM variable");
+ if (unsetenv("ESCDELAY") != 0)
+ err(2, "Failed to unset ESCDELAY variable");
+
if (stat(termpath, &st) == -1)
err(1, "Cannot stat %s", termpath);
Home |
Main Index |
Thread Index |
Old Index