Reviewed-by: Cyril Hrubis <chrubis@xxxxxxx> Signed-off-by: Petr Vorel <pvorel@xxxxxxx> --- testcases/commands/df/df01.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/testcases/commands/df/df01.sh b/testcases/commands/df/df01.sh index f74032c96..976e205bf 100755 --- a/testcases/commands/df/df01.sh +++ b/testcases/commands/df/df01.sh @@ -1,19 +1,19 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2015 Fujitsu Ltd. +# Copyright (c) 2018-2022 Petr Vorel <pvorel@xxxxxxx> # Author: Zhang Jin <jy_zhangjin@xxxxxxxxxxxxxx> # # Test df command with some basic options. TST_CNT=12 TST_SETUP=setup -TST_CLEANUP=tst_umount TST_TESTFUNC=test TST_OPTS="f:" TST_USAGE=usage TST_PARSE_ARGS=parse_args TST_NEEDS_ROOT=1 -TST_FORMAT_DEVICE=1 +TST_MOUNT_DEVICE=1 usage() { @@ -34,7 +34,6 @@ parse_args() setup() { - tst_mount DF_FS_TYPE=$(mount | grep "$TST_DEVICE" | awk 'NR==1{print $5}') } -- 2.36.1