public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] lib/tst_test.c: log testing fstyp when iterating all_filesystems
@ 2018-03-24  0:47 Xiong Zhou
  2018-03-26 16:47 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Xiong Zhou @ 2018-03-24  0:47 UTC (permalink / raw)
  To: ltp

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(+)

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();
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [LTP] [PATCH] lib/tst_test.c: log testing fstyp when iterating all_filesystems
  2018-03-24  0:47 [LTP] [PATCH] lib/tst_test.c: log testing fstyp when iterating all_filesystems Xiong Zhou
@ 2018-03-26 16:47 ` Cyril Hrubis
  0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2018-03-26 16:47 UTC (permalink / raw)
  To: ltp

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.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-26 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-24  0:47 [LTP] [PATCH] lib/tst_test.c: log testing fstyp when iterating all_filesystems Xiong Zhou
2018-03-26 16:47 ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox