[Devel] [PATCH 1/2] vz7: zdtm -- Export ZDTM_RUN variable

Cyrill Gorcunov gorcunov at gmail.com
Mon Feb 20 09:49:49 PST 2017


So in criu we can detect it and don't do
ve specific actions when running tests.

Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
---
 test/zdtm.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/zdtm.py b/test/zdtm.py
index a661242..00b7014 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -990,6 +990,7 @@ def cr(cr_api, test, opts):
 	if opts['nocr']:
 		return
 
+	os.environ["ZDTM_RUN"] = "y"
 	cr_api.set_test(test)
 
 	iters = iter_parm(opts['iters'], 1)
-- 
2.7.4



More information about the Devel mailing list