Subject: bug#21280: test failures: nar, syscalls, containers

From: [email-masked] (Ludovic Courtès)
Date: Thu, 20 Aug 2015 12:02:48 +0200

One last ‘pk’.  Could you apply it and resend tests/nar.log?

diff --git a/tests/nar.scm b/tests/nar.scm
index b8e50c7..9b39913 100644
--- a/tests/nar.scm
+++ b/tests/nar.scm
@@ -121,7 +122,8 @@
                     (lambda (name stat errno result)
                       (pk 'error name stat errno)
                       #f)
-                    (> (stat:nlink (stat output)) 2)
+                    (> (pk 'stat-output output
+                           (stat:nlink (stat output))) 2)
                     input
                     lstat))

I suspect the ‘nlink’ count on directories work differently on btrfs, or
something like that.

Thanks,
Ludo’.