]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-test-symlink: add a test using absolute symlink
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 30 Sep 2015 18:01:01 +0000 (18:01 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 7 Oct 2015 16:18:50 +0000 (17:18 +0100)
This would have caught the regression last night.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/tests/lxc-test-symlink

index b014a66911b631e435f969f0acd319a11aadd72b..56b7cf64f2d959745171985b869107aee950dc08 100644 (file)
@@ -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