]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
fstests: remove unnecessary stdout/stderr redirection for run_check calls
authorFilipe Manana <fdmanana@suse.com>
Wed, 31 Jul 2024 15:59:58 +0000 (16:59 +0100)
committerZorro Lang <zlang@kernel.org>
Tue, 6 Aug 2024 13:46:16 +0000 (21:46 +0800)
commit4e9a16bd7dd17d13ecb1ca78ddf0ff8d65770dbe
tree17dc9e7043ad27dc5cec506691030e45d10ad84d
parentbc6988106a328638befa56f53c27792404007888
fstests: remove unnecessary stdout/stderr redirection for run_check calls

It's pointless, and confusing, to have calls to run_check redirect the
stdout and/or stderr, because run_check already redirects it:

   $ cat common/rc
   (...)
   run_check()
   {
       echo "# $@" >> $seqres.full 2>&1
       "$@" >> $seqres.full 2>&1 || _fail "failed: '$@'"
   }
   (...)

So remove those redirections.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/004
tests/btrfs/030
tests/btrfs/038
tests/btrfs/039
tests/btrfs/040
tests/btrfs/057
tests/btrfs/284
tests/generic/482