• Andrey Vagin's avatar
    mounts/ext: fix path to the test file · 10da1303
    Andrey Vagin authored
    [root@avagin-fc19-cr ext]# bash run.sh
    + make
    make: Nothing to be done for `all'.
    + criu=../../../criu
    + finf=finish
    + outf=run_output
    + pidfile=pid_wait
    + tempd=temp_dir
    + sfile=source_file
    + tdir=test_dir
    + dfile=dest_file
    + mesg=msg-35
    + export finf
    + export outf
    + export pidfile
    + export sfile
    + export dfile
    + export tempd
    + export mesg
    + export tdir
    + mkdir dump/
    mkdir: cannot create directory ‘dump/’: File exists
    + mkdir test_dir
    mkdir: cannot create directory ‘test_dir’: File exists
    + mount --bind / test_dir
    + mount --make-rprivate test_dir
    + unshare --mount ./run_ns.sh
    + set -e
    + odir=mexold
    ++ pwd
    + cur=/root/crtools/test/mounts/ext
    + mount --make-rprivate /
    + rm -rf temp_dir finish run_output /mexold
    + mkdir temp_dir
    + touch test_dir/dest_file
    + mount -t tmpfs none temp_dir
    + echo msg-35
    + mount --bind temp_dir/source_file
    test_dir//root/crtools/test/mounts/ext/test_dir/dest_file
    mount: mount point
    test_dir//root/crtools/test/mounts/ext/test_dir/dest_file does not exist
    + fail 'Can'\''t unshare ns'
    + echo 'Can'\''t' unshare ns
    Can't unshare ns
    + exit 1
    Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
    10da1303
Name
Last commit
Last update
..
ext Loading commit data...
mounts.py Loading commit data...
mounts.sh Loading commit data...
run.sh Loading commit data...