[LTP] [PATCH v1 2/2] syscalls/settimeofday02: convert to new library

Petr Vorel
2020-03-09T07:47:01Z

Hi Xu,

> +static void verify_settimeofday(unsigned int n)
...
> + struct tcase *tc = &tcases[n];
> +
> + flag = 0;
> + tst_res(TINFO, "%s", tc->message);
> + TEST(settimeofday(&tc->tv, NULL));
> + if (TST_RET != -1) {
> + tst_res(TFAIL, "settimeofday() succeeded unexpectedly");
Maybe add TTERRNO here as well?
> + flag = 1;
> + return;

Kind regards,
Petr