[LTP] [PATCH 8/8] syscalls/setresuid03: Convert to new API
Martin Doucha
mdoucha@suse.cz
Mon Sep 13 16:11:23 CEST 2021
On 09. 09. 21 18:32, pvorel wrote:
>> - if (getpwnam("bin") == NULL) {
>> - tst_brkm(TBROK, NULL, "bin must be a valid user.");
>> + if (TST_ERR != tc->exp_errno) {
> nit: checkpatch complains (TST_ERR should be second)
checkpatch.pl wrongly assumes that TST_ERR is a constant.
--
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