Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512'

From: Paul Eggert <[email-masked]>
Date: Sat, 01 Nov 2014 19:39:12 -0700

Assaf Gordon wrote:
> ./dir:
> total 8
> -rw-r--r--  1 miles  wheel  2 Nov  2 00:55 a
> -rw-r--r--  1 miles  wheel  2 Nov  2 00:55 b
> lrwxr-xr-x  1 miles  wheel  1 Nov  2 00:55 c -> a
> lrwxr-xr-x  1 miles  wheel  1 Nov  2 00:55 d -> .
> lrwxr-xr-x  1 miles  wheel  8 Nov  2 00:55 e -> dangling
>
> $ cd dir
> $ pwd
> /tmp/grep-2.20.72-d512/tests/gt-symlink.1F01/dir
>
> $ ../../../src/grep -r '^' ; echo $?
> a:a
> b:b
> ../../../src/grep: c: Inappropriate file type or format
> ../../../src/grep: d: Inappropriate file type or format
> ../../../src/grep: e: Inappropriate file type or format
> 2

What system calls is this 'grep' executing?  What's the output of ktrace and kdump?