Module Name: src Committed By: mcf Date: Thu Jun 10 07:21:07 UTC 2021
Modified Files: src/tests/lib/libcurses/director: director.c Log Message: Unset ESCDELAY in libcurses test director to ensure consistent results Non-default values of ESCDELAY may result in unexpected test failures. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/tests/lib/libcurses/director/director.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libcurses/director/director.c diff -u src/tests/lib/libcurses/director/director.c:1.28 src/tests/lib/libcurses/director/director.c:1.29 --- src/tests/lib/libcurses/director/director.c:1.28 Sat Feb 13 09:18:12 2021 +++ src/tests/lib/libcurses/director/director.c Thu Jun 10 07:21:07 2021 @@ -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 <bl...@netbsd.org> @@ -195,6 +195,9 @@ main(int argc, char *argv[]) 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);