[LTP] [PATCH v1] kvm: main returns int
Martin Doucha
mdoucha@suse.cz
Wed Sep 14 11:04:44 CEST 2022
On 13. 09. 22 22:28, Edward Liaw via ltp wrote:
> ---
> I think the test framework expects main to return int, is this correct?
No, the test framework does not expect any return value from main().
This is also written in KVM test documentation in the last paragraph of
"Basic KVM test structure":
https://github.com/linux-test-project/ltp/wiki/KVM-Test-API
Redefining the return type to int will not break anything but the value
will be ignored. Test results are passed through a special memory buffer
using tst_res() and tst_brk() functions.
--
Martin Doucha mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic
More information about the ltp
mailing list