diff mbox series

lib/tst_test.c: log testing fstyp when iterating all_filesystems

Message ID 1521852471-3052-1-git-send-email-xzhou@redhat.com
State Accepted
Headers show
Series lib/tst_test.c: log testing fstyp when iterating all_filesystems | expand

Commit Message

Murphy Zhou March 24, 2018, 12:47 a.m. UTC
It's more clear that which test is going on and saving debug time
if anything goes wrong.

Signed-off-by: Xiong Zhou <xzhou@redhat.com>
---
 lib/tst_test.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Cyril Hrubis March 26, 2018, 4:47 p.m. UTC | #1
Hi!
> 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.
diff mbox series

Patch

diff --git a/lib/tst_test.c b/lib/tst_test.c
index b5fce33..8be1332 100644
--- a/lib/tst_test.c
+++ b/lib/tst_test.c
@@ -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();