[lxc-devel] [PATCH] lxc-test-symlink: add a test using absolute symlink

Stéphane Graber stgraber at ubuntu.com
Mon Oct 5 10:45:26 UTC 2015


On Wed, Sep 30, 2015 at 06:01:01PM +0000, Serge Hallyn wrote:
> This would have caught the regression last night.
> 
> Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  src/tests/lxc-test-symlink | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/tests/lxc-test-symlink b/src/tests/lxc-test-symlink
> index 37320f0..7bf6c1c 100755
> --- a/src/tests/lxc-test-symlink
> +++ b/src/tests/lxc-test-symlink
> @@ -50,6 +50,7 @@ cat >> /var/lib/lxc/symtest1/config << EOF
>  lxc.mount.entry = $dirname opt/xxx/dir none bind,create=dir
>  lxc.mount.entry = $fname opt/xxx/file none bind,create=file
>  lxc.mount.entry = $fname2 opt/xxx/file2 none bind
> +lxc.mount.entry = $dirname /var/lib/lxc/symtest1/rootfs/opt/xxx/dir2 none bind,create=dir
>  EOF
>  
>  # Regular - should succeed
> -- 
> 2.5.0
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20151005/957a0632/attachment.sig>


More information about the lxc-devel mailing list