[LTP] [PATCH v2 4/6] df01.sh: Use TST_FORMAT_DEVICE=1
Petr Vorel
pvorel@suse.cz
Thu Feb 10 17:27:37 CET 2022
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Same as in v1
testcases/commands/df/df01.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/testcases/commands/df/df01.sh b/testcases/commands/df/df01.sh
index e70f33c9b0..86df940861 100755
--- a/testcases/commands/df/df01.sh
+++ b/testcases/commands/df/df01.sh
@@ -13,7 +13,7 @@ TST_OPTS="f:"
TST_USAGE=usage
TST_PARSE_ARGS=parse_args
TST_NEEDS_ROOT=1
-TST_NEEDS_DEVICE=1
+TST_FORMAT_DEVICE=1
. tst_test.sh
usage()
@@ -35,7 +35,6 @@ parse_args()
setup()
{
- tst_mkfs
tst_mount
DF_FS_TYPE=$(mount | grep "$TST_DEVICE" | awk 'NR==1{print $5}')
}
--
2.35.1
More information about the ltp
mailing list