summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
Diffstat (limited to 'yarns')
-rw-r--r--yarns/0300-kdirstat-integration.yarn4
-rw-r--r--yarns/9000-implements.yarn5
2 files changed, 6 insertions, 3 deletions
diff --git a/yarns/0300-kdirstat-integration.yarn b/yarns/0300-kdirstat-integration.yarn
index 695994fe..6408908b 100644
--- a/yarns/0300-kdirstat-integration.yarn
+++ b/yarns/0300-kdirstat-integration.yarn
@@ -15,7 +15,7 @@ file.
WHEN user U backs up directory L to repository R
AND user U creates a kdirstat cache file C of repository R
THEN first line of C matches [kdirstat 4.0 cache file]
- AND for each file in directory L a line in the kdircache C matches it
+ AND for each entry in directory L a line in the kdircache C matches it
Now a backup containing some interesting objects
@@ -25,7 +25,7 @@ Now a backup containing some interesting objects
WHEN user U backs up directory L to repository R
AND user U creates a kdirstat cache file C of repository R
THEN first line of C matches [kdirstat 4.0 cache file]
- AND for each file in directory L a line in the kdircache C matches it
+ AND for each entry in directory L a line in the kdircache C matches it
Validating the cache file
-------------------------
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