[LTP] [PATCH v4] Migrating the libhugetlbfs/testcases/truncate.c test

Cyril Hrubis chrubis@suse.cz
Fri Jun 28 16:21:14 CEST 2024


Hi!
> You should reset the SIGBUS handler to SIGDFL here, otherwise all
> subsequent runs run with the handler installed during the whole
> run_test() function. I suppose that you purposely install it after you
> have faulted a page in the file with *q = 0 to jump to the
                                             ^
					     In order not to jump
> sigbus_count++ branch.
                       ^
		       when *q = 0 fails unexpectedly.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list