]> 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>
Mon, 5 Oct 2015 10:49:05 +0000 (11:49 +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 37320f0dfd96b262d52bc99e314b7fe3cb026bb1..7bf6c1c6abce0ec863c54da042783cac5e831683 100755 (executable)
@@ -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