[tests] Fix itimer test warning-errors on gcc-6.4

This fixes a "suggested parens" compile warning-into-error
that shows up on gcc-6.4.

Reviewed by:	ngie
Differential Revision:	https://reviews.freebsd.org/D26789
This commit is contained in:
Adrian Chadd 2020-10-15 14:55:07 +00:00
parent acb4cf9d6c
commit cdd9aa250e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366727

View file

@ -195,8 +195,8 @@ ATF_TC_BODY(setitimer_old, tc)
ATF_REQUIRE(setitimer(ITIMER_REAL, &it, &ot) == 0);
#ifdef __FreeBSD__
ATF_REQUIRE_MSG(ot.it_value.tv_sec < 4 ||
ot.it_value.tv_sec == 4 && ot.it_value.tv_usec <= 3,
ATF_REQUIRE_MSG((ot.it_value.tv_sec < 4) ||
(ot.it_value.tv_sec == 4 && ot.it_value.tv_usec <= 3),
"setitimer(2) returned invalid it_value: %jd %jd",
(intmax_t)ot.it_value.tv_sec, (intmax_t)ot.it_value.tv_usec);
#else