diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e50b2352d9f..7e60a11c3dd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-08-31 Kevin Buettner + + * gdb.base/corefile.exp (warning-free): XFAIL test when running + on docker w/ AUFS storage driver. + 2020-08-31 Kevin Buettner * gdb.base/corefile2.exp (renamed binfile): New tests. diff --git a/gdb/testsuite/gdb.base/corefile.exp b/gdb/testsuite/gdb.base/corefile.exp index 8abf62b51f1..b1022dd16f1 100644 --- a/gdb/testsuite/gdb.base/corefile.exp +++ b/gdb/testsuite/gdb.base/corefile.exp @@ -324,11 +324,18 @@ corefile_test_attach # Test warning-free core file load. E.g., a Linux vDSO used to # trigger this warning: # warning: Can't read pathname for load map: Input/output error. +# +# When testing in a docker container using the AUFS storage driver, +# the kernel places host paths in the core file's NT_FILE note. XFAIL +# this case since these paths make no sense in the container. clean_restart ${testfile} set test "core-file warning-free" gdb_test_multiple "core-file $corefile" $test { + -re "warning: Can\'t open file.*\/docker\/aufs\/.*\r\n$gdb_prompt $" { + xfail $test + } -re "warning: .*\r\n.*\r\n$gdb_prompt $" { fail $test }