Message ID | 20220510155438.15754-3-pvorel@suse.cz |
---|---|
State | Superseded |
Headers | show |
Series | shell: Add $TST_MOUNT_DEVICE support | expand |
Hi, > diff --git a/testcases/commands/df/df01.sh b/testcases/commands/df/df01.sh ... > @@ -13,7 +14,7 @@ TST_OPTS="f:" > TST_USAGE=usage > TST_PARSE_ARGS=parse_args > TST_NEEDS_ROOT=1 > -TST_FORMAT_DEVICE=1 > +TST_MOUNT_DEVICE=1 I forget to remove TST_CLEANUP=tst_umount. Therefore there is an error: df01 13 TINFO: The '/tmp/LTP_df01.UaDhMw4Ifq/mntpoint' is not mounted, skipping umount If this is the only error, I'll fix it during merge. Kind regards, Petr
diff --git a/testcases/commands/df/df01.sh b/testcases/commands/df/df01.sh index f74032c96..cfc8feab8 100755 --- a/testcases/commands/df/df01.sh +++ b/testcases/commands/df/df01.sh @@ -1,6 +1,7 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2015 Fujitsu Ltd. +# Copyright (c) 2018-2022 Petr Vorel <pvorel@suse.cz> # Author: Zhang Jin <jy_zhangjin@cn.fujitsu.com> # # Test df command with some basic options. @@ -13,7 +14,7 @@ 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 +35,6 @@ parse_args() setup() { - tst_mount DF_FS_TYPE=$(mount | grep "$TST_DEVICE" | awk 'NR==1{print $5}') }
Signed-off-by: Petr Vorel <pvorel@suse.cz> --- testcases/commands/df/df01.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)