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

Serge Hallyn serge.hallyn at ubuntu.com
Wed Sep 30 18:01:01 UTC 2015


This would have caught the regression last night.

Signed-off-by: Serge Hallyn <serge.hallyn 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



More information about the lxc-devel mailing list