Ting-Wei Lan skribis:
> They are on tmpfs and the order of the two arguments of 'string-
> prefix?' function seems to be wrong, so these 3 entries are ignored.
>
> A simple fix:
>
> diff --git a/tests/guix-environment-container.sh
> b/tests/guix-environment-container.sh
> index 12da950..d7c1b70
於 週一,2016-08-01 於 15:13 +0200,Ludovic Courtès 提到:
> Hi,
>
> Ting-Wei Lan skribis:
>
> >
> > I ran the test on core-updates branch, but it still failed.
> >
> > Output in tests/guix-environment-container.log:
> >
> > + cat t-guix-environment-31068/mounts
> > /path/to/a/tmpfs/mountpoint/guix-bu
Hi,
Ting-Wei Lan skribis:
> I ran the test on core-updates branch, but it still failed.
>
> Output in tests/guix-environment-container.log:
>
> + cat t-guix-environment-31068/mounts
> /path/to/a/tmpfs/mountpoint/guix-build
> ++ wc -l
> + test 1 -eq 4
I’m at loss; on my machine I see:
--8<-
I ran the test on core-updates branch, but it still failed.
Output in tests/guix-environment-container.log:
+ cat t-guix-environment-31068/mounts
/path/to/a/tmpfs/mountpoint/guix-build
++ wc -l
+ test 1 -eq 4
Hello,
Ting-Wei Lan skribis:
> This problem happens on both guix 0.9.0 and master branch.
>
> $tmpdir/mounts can be empty when running tests on tmpfs because
> $mount_test_code ignores tmpfs. (`wc -l $tmpdir/mounts` is 0)
Indeed; I believe commit 1250034d5aff14fe236aad9900233a2b6f8563bb fixes
i
This problem happens on both guix 0.9.0 and master branch.
$tmpdir/mounts can be empty when running tests on tmpfs because
$mount_test_code ignores tmpfs. (`wc -l $tmpdir/mounts` is 0)