criu/scripts
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
..
build travis: run tests with asan 2017-04-11 09:00:49 +03:00
nmk compel: no -r for ARM ldflags 2017-04-02 18:12:10 +03:00
travis travis: run tests with asan 2017-04-11 09:00:49 +03:00
crit-setup.py lib Makefiles: integrate 2017-03-06 20:44:07 +03:00
fake-restore.sh scripts: Add script to abort restore at the end 2014-02-05 19:40:47 +04:00
feature-tests.mak feature-test: add CONFIG_COMPAT compile option 2017-03-14 23:58:08 +03:00
flake8.cfg zdtm: use flake8 to verify zdtm.py 2016-06-28 13:09:35 +03:00
install-debian-pkgs.sh Add script to install required packages to compile in Debian 2016-09-26 15:42:43 +03:00
magic-gen.py python: specify python2 as .py interpreter 2017-04-17 18:35:58 +03:00
protobuf-gen.sh build/make: return to make from top directory 2016-08-01 18:38:32 +03:00
systemd-autofs-restart.sh systemd-autofs-restart.sh: fix issue with removed check_fs_type reference 2017-03-06 11:44:05 +03:00
tmp-files.sh tmpfiles: implement user tmp files feature 2016-03-09 12:48:33 +03:00