[LTP] [PATCH v8 4/4] Extend ioctl02 to test termio and termios

Petr Vorel pvorel@suse.cz
Thu Oct 26 10:35:52 CEST 2023


Hi all,

...
> >> +#define CMP_ATTR(tcexp, tcval, attr) \
> >> +	do { \
> >> +		if ((tcval).attr != (tcexp).attr) { \
> >> +			tst_res(TINFO, #attr " has incorrect value %o", \
> >> +				(tcval).attr); \
> >> +			flag++; \
> >> +		} \
> >> +	} while (0)
> >> +
> >> +#define CECK_CONTROL_CHARS(tcval) \
> Was this meant to named as CHECK_CONTROL_CHARS?

+1

Kind regards,
Petr


More information about the ltp mailing list