[LTP] [PATCH v1 1/3] Rewrite eventfd2_01 test using new LTP API

Cyril Hrubis chrubis@suse.cz
Wed Apr 5 11:24:49 CEST 2023


Hi!
Pushed with two minor changes, thanks.

> +	TST_EXP_EXPR((flags & FD_CLOEXEC) > 0, "FD_CLOEXEC is set");
                        ^
			It's more C-like to do just (flags & FD_CLOEXEC)
			here, i.e. drop the > 0

			And use !(...) for the other case.
-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list