[LTP] [PATCH] mtest05/mmstress: Fix failure on read-only system

Cyril Hrubis chrubis@suse.cz
Wed Mar 22 17:47:54 CET 2017


Hi!
This was broken for when the test was passed the -t option since in that
case the alarm called exit(). Well the -t option was broken anyway,
since it did exit(0) regardless of the result of the test functions.

So I've cleaned up the test a bit so that SIGALRM only sets a flag that
causes the main loop to exit and also to call tst_exit() properly and
then added the tst_tmpdir() and tst_rmdir() calls.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list