mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
tests: Work around Btrfs handling of nlink for empty directories.
Fixes <http://bugs.gnu.org/21280>. Reported by Leo Famulari <leo@famulari.name>. * tests/nar.scm (file-tree-equal?): Use #t as the initial result. Btrfs would set nlink to 1 instead of 2 for an empty directory, thereby leading 'file-tree-equal?' to return #f.
This commit is contained in:
parent
45fed6d32c
commit
fe32241ad5
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ (define sibling
|
|||
(lambda (name stat errno result)
|
||||
(pk 'error name stat errno)
|
||||
#f)
|
||||
(> (stat:nlink (stat output)) 2)
|
||||
#t ; result
|
||||
input
|
||||
lstat))
|
||||
|
||||
|
|
Loading…
Reference in a new issue