aboutsummaryrefslogtreecommitdiff
path: root/testcases/lib
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2019-02-20 14:58:28 +0100
committerPetr Vorel <pvorel@suse.cz>2019-03-14 14:22:06 +0100
commit38363f618542a06babe4f8db44d1b3b0996bed47 (patch)
tree5d1518db6851eb61c2eb09a8fd4e5aef82fadf21 /testcases/lib
parent9a5185be424739aaa45c5a62cffa6357114b934f (diff)
shell: Move mkfs.foo into tst_mkfs()
+ remove unused local ret variable. Signed-off-by: Petr Vorel <pvorel@suse.cz> Acked-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'testcases/lib')
-rw-r--r--testcases/lib/tst_test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh
index 8e7a5b6d6..ecd162e60 100644
--- a/testcases/lib/tst_test.sh
+++ b/testcases/lib/tst_test.sh
@@ -299,8 +299,9 @@ tst_mkfs()
tst_brk TBROK "No device specified"
fi
- tst_res TINFO "Formatting $device with $fs_type extra opts='$fs_opts'"
+ tst_test_cmds mkfs.$fs_type
+ tst_res TINFO "Formatting $device with $fs_type extra opts='$fs_opts'"
ROD_SILENT mkfs.$fs_type $fs_opts $device
}