tests: Work around Btrfs handling of nlink for empty directories.
authorLudovic Courtès <ludo@gnu.org>
Tue, 25 Aug 2015 20:44:10 +0000 (22:44 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 25 Aug 2015 22:43:36 +0000 (00:43 +0200)
commitfe32241ad5394c12fc70a31de005ec1b563bbb4e
treeef1dd48d743e28f0745eff11cfc4b70271efdcbd
parent45fed6d32c288dbf5400ace42179256036c4c233
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.
tests/nar.scm