lib/tst_test.c: log testing fstyp when iterating all_filesystems
PATCH 1/1 lib/tst_test.c: log testing fstyp when iterating all_filesystems
It's more clear that which test is going on and saving debug time if anything goes wrong.
Signed-off-by Xiong Zhou <[email protected]>
--- lib/tst_test.c | 2 ++ 1 file changed, 2 insertions(+)
lib/tst_test.c +2 -0
@@ -1044,6 +1044,8 @@ static int run_tcases_per_fs(void)tst_brk (TCONF ,"There are no supported filesystems" );for (i =0 ; filesystems[i]; i++) { + +tst_res (TINFO ,"Testing on %s" , filesystems[i]); tdev.fs_type = filesystems[i];prepare_device ();
Signature · 1 line
1.8.3.1
PATCH 1/1 lib/tst_test.c: log testing fstyp when iterating all_filesystems
Hi!
Quoted 2 lines
It's more clear that which test is going on and saving debug time if anything goes wrong.
We kind of print this information, since tst_mkfs prints which FS we are formatting the device with, but I guess that if we crash before that we will never see it...
I've reworded the patch description a bit and pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]