Alex Vong <[email protected]> skribis:
> On 27/10/2015, Ludovic Courtès <[email protected]> wrote:
[...]
>> Do you still experience the test failures mentioned in that report? If
>> not, could you email [email protected], specifying which commit
>> works for you?
>>
> Yes, there are 4 tests still failing with the latest master branch
> without unprivileged container.
Which tests? Does tests/container.scm pass?
> But there is a new problem, tests/guix-environment-container.sh fails
> even when running the tests as root. The test log is in the
> attachment.
[...]
> (for-each (lambda (mount)
> (display mount)
> (newline))
> mappings)'
> accepted connection from pid 9627, user root (trusted)
> ++ wc -l
> + test 4 -eq 3
Could you apply the patch below, run:
make check TESTS=tests/guix-environment-container.sh
and send ‘guix-environment-container.log’?
Also, what does:
make check TESTS=tests/container.scm
report?
TIA!
Ludo’.
--- a/tests/guix-environment-container.sh
+++ b/tests/guix-environment-container.sh
@@ -66,6 +66,7 @@ mount_test_code="
guix environment --container --ad-hoc --bootstrap guile-bootstrap \
-- guile -c "$mount_test_code" > $tmpdir/mounts
+cat $tmpdir/mounts
test `wc -l < $tmpdir/mounts` -eq 3
grep -e "$PWD$" $tmpdir/mounts # current directory