#!/bin/sh # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # tests basic functionality of read-ahead and ra regressions # . lib/test aux prepare_devs 5 TEST_UUID="aaaaaa-aaaa-aaaa-aaaa-aaaa-aaaa-aaaaaa" pvcreate "$dev1" pvcreate --metadatacopies 0 "$dev2" pvcreate --metadatacopies 0 "$dev3" pvcreate "$dev4" pvcreate --norestorefile -u $TEST_UUID --metadatacopies 0 "$dev5" vgcreate $vg $(cat DEVICES) lvcreate -l 5 -i5 -I256 -n $lv $vg if aux have_readline; then # test *scan and *display tools cat <