Leo Famulari <[email protected]> skribis:

> %%%% Starting test nar  (Writing full log to "nar.log")
> tests/nar.scm:202: FAIL write-file + restore-file
> tests/nar.scm:219: FAIL write-file + restore-file with symlinks

What is the file system of /home/leo/work/guix (see the output of the
‘mount’ command)?

Could you apply this patch (copy it to a file and run
“patch -p1 < the-patch” from the top-level source directory):

diff --git a/tests/nar.scm b/tests/nar.scm
index b8e50c7..a47d522 100644
--- a/tests/nar.scm
+++ b/tests/nar.scm
@@ -211,6 +211,11 @@
           (cut write-file input <>))
         (call-with-input-file nar
           (cut restore-file <> output))
+        (setvbuf (current-output-port) _IONBF)
+        (system (string-append "find " input "|xargs stat -c '%n %s'|sort"))
+        (display "\n-----------\n")
+        (system (string-append "find " output "|xargs stat -c '%n %s'|sort"))
+        (display "\n+++++++++++\n")
         (file-tree-equal? input output))
       (lambda ()
         (false-if-exception (delete-file nar))
and then run “make check TESTS=tests/nar.scm” from the top-level build
directory, and post both the top-level ‘nar.log’ file and
‘tests/nar.log’?

Thanks in advance!

Ludo’.

Reply via email to