tests: modernize sparse-fiemap test
authorJim Meyering <meyering@redhat.com>
Mon, 31 Jan 2011 12:40:26 +0000 (13:40 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 31 Jan 2011 12:40:26 +0000 (13:40 +0100)
* tests/cp/sparse-fiemap: Use print_ver_, not open-coded VERBOSE test.

tests/cp/sparse-fiemap

index aecf9d2..c873645 100755 (executable)
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-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!