summaryrefslogtreecommitdiff
path: root/tests/cp
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-01-31 13:40:26 +0100
committerJim Meyering <meyering@redhat.com>2011-01-31 13:40:26 +0100
commit08b7bce540f12595f9995851338bb765783d264c (patch)
tree09d3cb2e232337013bdd9667fba263f0f29839fa /tests/cp
parent040b00ef19fb1bbc0f7d3e5bec6ff82e19a92d26 (diff)
downloadcoreutils-08b7bce540f12595f9995851338bb765783d264c.tar.xz
tests: modernize sparse-fiemap test
* tests/cp/sparse-fiemap: Use print_ver_, not open-coded VERBOSE test.
Diffstat (limited to 'tests/cp')
-rwxr-xr-xtests/cp/sparse-fiemap6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/cp/sparse-fiemap b/tests/cp/sparse-fiemap
index aecf9d2bf..c87364595 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 <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!