diff options
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r-- | yarns/9000-implements.yarn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn index 1d898d7c..e77b7852 100644 --- a/yarns/9000-implements.yarn +++ b/yarns/9000-implements.yarn @@ -773,7 +773,10 @@ Check that the cache mentions each file in the repository. Since grep -E cannot specifically match a tab we check only for one character of whitespace. - IMPLEMENTS THEN for each file in directory (\S+) a line in the kdircache (\S+) matches it + IMPLEMENTS THEN for each entry in directory (\S+) a line in the kdircache (\S+) matches it find "$DATADIR/$MATCH_1" -type f | while read f ; do \ grep -E -e "^F[[:space:]]$f" "$DATADIR/$MATCH_2" || exit 1; \ done + find "$DATADIR/$MATCH_1" -type p | while read p ; do \ + grep -E -e "^FIFO[[:space:]]$p" "$DATADIR/$MATCH_2" || exit 1; \ + done |