test: zdtm -- Add test for alternative signal stack

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
zdtm: wait a test process instead of output file

zdtm.sh reports error immediatly, if a test process exited or crashed.

We should be fear, that pid can be reused. There are many place, which
will fail in this case. And a chance to get this situation is really small.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
zdtm: define PAGE_SIZE in zdtmtst.h

This patches fixes compilation on Raspberry Pi and
removes a few defines from tests.

msg.c: In function ‘test_msg’:
msg.c:41:11: error: ‘PAGE_SIZE’ undeclared (first use in this function)

CC: Alexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
zdtm: remove error messages, that this directory is exist

Like this:
mkdir: cannot create directory ‘/tmp/criu-root.wt2oW0/lib64’: File exists

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
zdtm: remove many useless messages from make

make: Entering directory `/root/crtools/test/zdtm/live/static'
make -C ../../lib
make[1]: Entering directory `/root/crtools/test/zdtm/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/crtools/test/zdtm/lib'
rm -f -f -r env00.pid env00.out* *env00.test* env00.*.test env00.state
make: Leaving directory `/root/crtools/test/zdtm/live/static'
pid00 caps00 maps01 groups sched_prio00 sched_policy00 sock_opts00 sock_opts01 cmdlinenv00 packet_sock fanotify00 sk-netlink
make: Entering directory `/root/crtools/test/zdtm/live/static'
make -C ../../lib
make[1]: Entering directory `/root/crtools/test/zdtm/lib'

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
zdtm: don't print useless messages from Makefile

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
zdtm: hide output of commands, which checks existence of something

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>