On Wed, Mar 02, 2016 at 03:30:31PM +0100, Mark Wielaard wrote: > On Sun, 2016-02-28 at 15:29 +0100, Samuel Thibault wrote: > > Kurt Roeckx, on Thu 19 Jul 2012 18:54:01 +0200, wrote: > > > I'm also happy with a patch that does the right thin on hurd that > > > doesn't use /proc/$pid/maps. > > > > The maps file was added, it however for now lacks the paths. > > > > Perhaps we can apply the attached patch to skip the only failing test, > > as is done on kfreebsd? > > If you already do that on kfreebsd then I think that patch is the > simplest way forward. > > Longer term we maybe want to split out the testcase a little upstream > since it seems there are two separate reasons for this failing (ptrace > attach not functioning or maps not containing file names). We might be > able to detect both issues separate and SKIP the tests only for the > "right" reason. I/upstream doesn't have access to non-GNU/Linux setups > though. So we would need a bit of help testing such things.
The problem on kFreeBSD is that in a chroot the path is wrong, it also contains the chroot directory name. Kurt