criu/test
Dmitry Safonov 057c3f2947 python: specify python2 as .py interpreter
On some distro the default python interpreter is Python 3,
which results in such errors:
>  Running zdtm/static/socket-tcp-closed.hook(--post-start)
>  make[1]: Nothing to be done for default.
>  ./socket-tcp-closed --pidfile=socket-tcp-closed.pid --outfile=socket-tcp-closed.out
>    File "zdtm/static/socket-tcp-closed.hook", line 16
>      except OSError, e:
>                    ^
>  SyntaxError: invalid syntax
>  ######### Test zdtm/static/socket-tcp-closed FAIL at hook --post-start #########
>  Running zdtm/static/socket-tcp-closed.hook(--clean)
>    File "zdtm/static/socket-tcp-closed.hook", line 16
>      except OSError, e:
>                    ^
>  SyntaxError: invalid syntax
>  Traceback (most recent call last):
>    File "zdtm.py", line 1921, in <module>
>      do_run_test(tinfo[0], tinfo[1], tinfo[2], tinfo[3])
>    File "zdtm.py", line 1388, in do_run_test
>      try_run_hook(t, ["--clean"])
>    File "zdtm.py", line 1053, in try_run_hook
>      raise test_fail_exc("hook " + " ".join(args))
>  __main__.test_fail_exc: <__main__.test_fail_exc instance at 0x76294468>

Acked-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-04-17 18:35:58 +03:00
..
compel compel/tests: fix tests on !x86 archs 2017-03-14 21:03:30 +03:00
inhfd unix: Test the --external instead of --ext-unix-sk 2016-11-03 18:14:16 +03:00
jenkins fault/vdso/restorer: add force-injection of trampolines 2017-03-15 09:36:07 +03:00
others python: specify python2 as .py interpreter 2017-04-17 18:35:58 +03:00
zdtm python: specify python2 as .py interpreter 2017-04-17 18:35:58 +03:00
.gitignore gitignores: ignore some more generated files 2017-03-15 00:05:55 +03:00
abrt.sh travis: catch core dump files in error cases 2016-09-06 19:31:20 +03:00
check_actions.py python: specify python2 as .py interpreter 2017-04-17 18:35:58 +03:00
crit-recode.py test/crit-recode: skip images with zero size 2016-06-28 13:12:26 +03:00
criu.py zdtm.py: Add minimal support for CRIU RPC testing 2016-09-06 19:31:21 +03:00
empty-netns-prep.sh empty-ns: Don't C/R iptables too (v2) 2016-11-17 11:05:37 +03:00
groups.desc zdtm.py: Generator of groups of tests 2015-12-08 14:54:41 +03:00
inhfd.desc zdtm.py: Add inhfd tests for --inherit-fd option 2015-10-19 12:42:01 +03:00
Makefile test/Makefile: rm bad code 2016-10-10 12:48:20 +03:00
rpc_pb2.py python lib: rename rpc.py to rpc_pb2.py 2016-10-10 12:49:28 +03:00
show_action.sh test: Check action scripts to work as we expect 2016-05-06 14:39:25 +03:00
umount2.c zdtm: add a program to umount a test root 2016-09-26 15:42:40 +03:00
zdtm.desc test: Get rid of live directory 2016-02-20 13:40:52 +03:00
zdtm.py zdtm: print 5 lines before an error 2017-04-02 18:12:11 +03:00
zdtm_ct.c test: don't do MS_REC|MS_PRIVATE for host mounts 2016-09-06 19:31:20 +03:00
zdtm_mount_cgroups tests: prevent zdtm_mount_cgroups from failing w/ EBUSY 2016-02-03 16:25:28 +03:00