corefile.exp: XFAIL warning-free test when testing on docker
authorKevin Buettner <kevinb@redhat.com>
Tue, 11 Aug 2020 16:36:12 +0000 (09:36 -0700)
committerKevin Buettner <kevinb@redhat.com>
Tue, 1 Sep 2020 01:57:35 +0000 (18:57 -0700)
commitefe24f056fd7dd28d231b34c4b1fc5e6aaca4168
tree8af505cf8db24ee11f59f112fadde66bdea9a960
parent973695d6bb824a1e724d5ea24e7ece013109dc74
corefile.exp: XFAIL warning-free test when testing on docker

When testing on docker using the AUFS storage driver, loading a core
file will often print a number of warnings.  Here's an example (with
the pathname shortened somewhat):

warning: Can't open file /var/lib/docker/aufs/diff/d07..e21/lib/x86_64-linux-gnu/libc-2.27.so during file-backed mapping note processing

The "warning-free" test in gdb.base/corefile.exp will fail if any
warnings are printed, but this particular warning is unavoidable when
running in the docker environment.  Fortunately, the path mentions
both "docker" and "aufs", making it easy to XFAIL this case.

gdb/testsuite/ChangeLog:

* gdb.base/corefile.exp (warning-free): XFAIL test when running
on docker w/ AUFS storage driver.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/corefile.exp
This page took 0.02736 seconds and 4 git commands to generate.