Subject: bug#24121: [bug-diffutils] bug#24121: new snapshot available: diffutils-3.3.52-e974

From: Assaf Gordon <[email-masked]>
Date: Tue, 2 Aug 2016 01:18:52 -0400

Hello,

> On Aug 1, 2016, at 12:44, Jim Meyering <[email-masked]> 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

Hope this helps,
 - assaf