On Mon, Aug 1, 2016 at 10:18 PM, Assaf Gordon wrote: > Hello, > >> On Aug 1, 2016, at 12:44, Jim Meyering wrote: >> Would you please see what the hurd test expected? >> If you rerun it with this patch, the usual testsuite.log file will >> include details: >> <0001-k.diff> > > Digging a bit deeper, it seems that GNU Hurd does not have a functional /proc/self link > (at least not Debian/Hurd 0.7). > > $ uname -a > GNU hurd07 0.7 GNU-Mach 1.6+git20160114-486/Hurd-0.7 i686-AT386 GNU > > $ ls -l /proc/self > lrwxrwxrwx 0 root root 1 Dec 31 1969 /proc/self -> 1 > > $ od -ta /proc/self/cmdline > 0000000 i n i t sp [ 2 ] nul > 0000011 > > And so this test will never succeed as-is. > > A relevant mention of /proc/self shortcomings is here: > https://www.gnu.org/software/hurd/hurd/translator/procfs/jkoenig/discussion.html#index2h1 Thank you. The attached patch should cause that test to be skipped when /proc/self is not useful: