[LTP] [PATCH] tst_device: add new tst_dev_sync

Petr Vorel pvorel@suse.cz
Wed Jan 8 12:45:45 CET 2020


Hi Li, Cyril,

> Hi
> > Btw I just pushed a simple fix to include unistd.h, it seems not works.

> You would need to define _GNU_SOURCE at the top of each test that uses
> it otherwise the definition is not exposed.
Yep :(. I join to Cyril's vote for raw syscall.
BTW please test it with travis or locally build.sh script (which adds
-Werror=implicit-function-declaration).

I guess we should work on travis CI integration so we don't have to push it to
travis manually [1].

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/issues/599


More information about the ltp mailing list