[LTP] [PATCH] lib/tst_test.c: log testing fstyp when iterating all_filesystems

Xiong Zhou xzhou@redhat.com
Sat Mar 24 01:47:51 CET 2018


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



More information about the ltp mailing list