From 1c1949ab53b461b233c2dcac0fe9f15abc0bf532 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Thu, 4 Mar 2021 17:41:06 +0000 Subject: [PATCH] test: move vt test to minor 65 on s390x Our Jenkins s390x vt test fails with ./vt --pidfile=vt.pid --outfile=vt.out --filename=vt.test make: *** [Makefile:432: vt.pid] Error 1 Test zdtm/static/vt FAIL at ['make', '--no-print-directory', '-C', 'zdtm/static', 'vt.pid'] Test output: ================================ 08:08:15.556: 54: ERR: vt.c:38: Open virtual terminal vt.test failed (errno = 6 (No such device or address)) 08:08:15.556: 53: ERR: test.c:316: Test exited unexpectedly with code 1 Because the host has no ttyS0 as used previously. This changes the test to use 'ttysclp0'. That seems to exist on multiple s390x we checked. Signed-off-by: Adrian Reber --- test/zdtm/static/vt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/zdtm/static/vt.c b/test/zdtm/static/vt.c index 0d843c4cf..6c96fceba 100644 --- a/test/zdtm/static/vt.c +++ b/test/zdtm/static/vt.c @@ -16,7 +16,7 @@ char *filename; TEST_OPTION(filename, string, "file name", 1); #ifdef __s390x__ -#define MINOR 64 /* ttyS0 */ +#define MINOR 65 /* ttysclp0 */ #else #define MINOR 5 #endif