From: Serge Hallyn Date: Wed, 30 Sep 2015 18:01:01 +0000 (+0000) Subject: lxc-test-symlink: add a test using absolute symlink X-Git-Tag: lxc-1.0.8~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=377acfc692a53c48d45c08bebcf43e6d4bccf17e;p=thirdparty%2Flxc.git lxc-test-symlink: add a test using absolute symlink This would have caught the regression last night. Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber --- diff --git a/src/tests/lxc-test-symlink b/src/tests/lxc-test-symlink index b014a6691..56b7cf64f 100644 --- 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