[CRIU] [PATCH 3/4] zdtm.py: specify python version
Dmitry Safonov
dsafonov at virtuozzo.com
Thu Feb 11 08:48:17 PST 2016
Otherwise it may suck on some distros (Arch i.e):
make zdtm
make[2]: Entering directory '/home/japdoll/tools/criu/test'
./zdtm.py run -a --parallel 2
File "./zdtm.py", line 33
print " ..."
^
SyntaxError: Missing parentheses in call to 'print'
Makefile:25: recipe for target 'zdtm' failed
make[2]: *** [zdtm] Error 1
make[2]: Leaving directory '/home/japdoll/tools/criu/test'
Makefile:9: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/japdoll/tools/criu/test'
Makefile:258: recipe for target 'test' failed
make: *** [test] Error 2
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
test/zdtm.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/zdtm.py b/test/zdtm.py
index 071b454..53b4b07 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# vim: noet
import argparse
import os
--
2.7.1
More information about the CRIU
mailing list