xemu/tests/tcg/multiarch
Laurent Vivier 1f442da51e tests/tcg/multiarch: fix 32bit linux-test on 64bit host
Fix:

  TEST    linux-test on i386
  .../tests/tcg/multiarch/linux-test.c:201: readdir

readdir() calls getdents64() to have the list of the entries in a
directory, and getdents64() can return 64bit d_off values (with ext4,
for instance) that will not fit in the 32bit d_off field of the
readdir() dirent structure.

To avoid that, use readdir64() to use a 64bit d_off field too.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2018-11-14 11:07:06 +00:00
..
linux-test.c tests/tcg/multiarch: fix 32bit linux-test on 64bit host 2018-11-14 11:07:06 +00:00
Makefile.target tests/tcg: add run, diff, and skip helper macros 2018-06-20 20:22:34 +01:00
README tests/tcg: move architecture independent tests into subdir 2018-06-20 20:22:34 +01:00
sha1.c tests/tcg: move architecture independent tests into subdir 2018-06-20 20:22:34 +01:00
test-mmap.c tests: add check_invalid_maps to test-mmap 2018-07-31 09:57:25 +02:00
testthread.c tests/tcg: move architecture independent tests into subdir 2018-06-20 20:22:34 +01:00

Multi-architecture linux-user tests