[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Ludovic Courtès
Subject: bug#21280: test failures: nar, syscalls, containers
Date: Tue, 18 Aug 2015 23:54:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Leo Famulari <address@hidden> 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

Thanks in advance!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]