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 <areber@redhat.com>
This commit is contained in:
Adrian Reber 2021-03-04 17:41:06 +00:00 committed by Andrei Vagin
parent 447b3cf61a
commit 1c1949ab53

View file

@ -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