criu/test
Andrey Vagin 10da1303d6 mounts/ext: fix path to the test file
[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: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-12-31 13:54:53 +04:00
..
app-emu space-before-tab whitespace cleanup 2013-12-12 10:00:53 +04:00
ext-links test: Test and example how to dump namespace with macvlan 2013-12-26 22:40:30 +04:00
fault-injection test: check, that parasite can rollback itself (v2) 2013-08-06 15:11:12 +04:00
libcriu test: libcriu -- check for -EBADE instead of -1 2013-12-18 21:09:03 +04:00
mem-snap tab-at-eol cleanup 2013-12-20 16:09:08 +04:00
mounts mounts/ext: fix path to the test file 2013-12-31 13:54:53 +04:00
rpc test/rpc: fix test execution 2013-11-08 16:46:05 +04:00
tcp test: create env.sh for environment setting 2013-08-20 14:52:34 +04:00
unix-callback tests: check callback-s for dumping and restoring sockets (v2) 2013-12-20 15:28:53 +04:00
zdtm zdtm: increase the amount of allowable inaccuracy 2013-12-23 13:55:19 +04:00
app-emu.sh test: add a script for executing all app-emu test cases 2012-11-22 19:08:29 +04:00
env.sh test: create env.sh for environment setting 2013-08-20 14:52:34 +04:00
functions.sh test/app-emu: wait while tasks are dying before starting restore 2012-11-22 19:08:14 +04:00
Makefile test: show logs in case an error (v2) 2013-12-30 12:32:00 +04:00
maps.py zdtm: check that a process has the same set of VMS-s after restore 2013-09-23 15:23:12 +04:00
post-dump.sh zdtm: the post-dump scripts returns zero, if action is not post-dump 2013-07-24 19:10:49 +04:00
zdtm.sh zdtm: Some updates to treat NFS fds properly 2013-12-27 21:20:33 +04:00