test: respect 'CI_DEBUG' set by functest 65/14765/1
authorRyota MIBU <r-mibu@cq.jp.nec.com>
Fri, 27 May 2016 06:54:28 +0000 (15:54 +0900)
committerRyota MIBU <r-mibu@cq.jp.nec.com>
Fri, 27 May 2016 07:04:16 +0000 (16:04 +0900)
commitc4ae9cf6e1b1ff3c46699f596d22e60a8512e939
tree9d7c9c40df4705ace3a059237eb3ddb2ce9196ff
parent24be63fc311ae57ca9de23e2c874632a60bdef6d
test: respect 'CI_DEBUG' set by functest

In current bash script for doctor test, '-x' option is enabled and all
executing commands will be printed in the console.

Functest has a configuration to enable/disable this '-x' option. It is
environment variable 'CI_DEBUG'.

This patch makes doctor test script to set '-x' option according to
'CI_DEBUG'. If it's not set, '-x' option will be enabled as it was
enabled before this change.

JIRA: FUNCTEST-212

Change-Id: I9fa5036aad7a0f5c88378337d946439a6ee6108c
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
tests/run.sh