From: Jim Meyering Date: Mon, 31 Jan 2011 12:40:26 +0000 (+0100) Subject: tests: modernize sparse-fiemap test X-Git-Tag: v8.10~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08b7bce540f12595f9995851338bb765783d264c;p=thirdparty%2Fcoreutils.git tests: modernize sparse-fiemap test * tests/cp/sparse-fiemap: Use print_ver_, not open-coded VERBOSE test. --- diff --git a/tests/cp/sparse-fiemap b/tests/cp/sparse-fiemap index aecf9d2bf0..c87364595e 100755 --- a/tests/cp/sparse-fiemap +++ b/tests/cp/sparse-fiemap @@ -16,12 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if test "$VERBOSE" = yes; then - set -x - cp --version -fi - . "${srcdir=.}/init.sh"; path_prepend_ ../src +print_ver_ cp if df -T -t btrfs -t xfs -t ext4 -t ocfs2 . ; then : # Current dir is on a partition with working extents. Good!