Re: [Xen-devel] [PATCH v1 4/7] OssTest: Add target_cmd_root_rc which returns return code.

2016-11-17 Thread Ian Jackson
Konrad Rzeszutek Wilk writes ("[PATCH v1 4/7] OssTest: Add target_cmd_root_rc which returns return code."): > All the different target_cmd_* end up calling tcmdex > which has the unfortunate side-effect of calling 'die' if > the SSH sessions results in any return code not zero. ... > Also we make

[Xen-devel] [PATCH v1 4/7] OssTest: Add target_cmd_root_rc which returns return code.

2016-11-16 Thread Konrad Rzeszutek Wilk
All the different target_cmd_* end up calling tcmdex which has the unfortunate side-effect of calling 'die' if the SSH sessions results in any return code not zero. That is fine, except for tests where we want to get a non-zero return value. This patch moves the: die "status $r" from tcmdex to al