This is the mail archive of the lvm2-cvs@sourceware.org mailing list for the LVM2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

LVM2/test t-read-ahead.sh


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@sourceware.org	2008-08-04 09:15:15

Modified files:
	test           : t-read-ahead.sh 

Log message:
	* parse error output for 'auto' keyword

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-read-ahead.sh.diff?cvsroot=lvm2&r1=1.1&r2=1.2

--- LVM2/test/t-read-ahead.sh	2008/06/18 11:32:13	1.1
+++ LVM2/test/t-read-ahead.sh	2008/08/04 09:15:15	1.2
@@ -54,7 +54,7 @@
    vgcreate -c n "$vg" "$d1" "$d2" "$d3" "$d4" "$d5" &&
    lvcreate -n "$lv" -l 100%FREE -i5 -I256 "$vg"     &&
    lvdisplay "$vg"/"$lv"                             &&
-   lvchange -r auto "$vg"/"$lv" || true | grep auto  &&
+   lvchange -r auto "$vg"/"$lv" 2>&1 | grep auto     &&
    get_lvs_ lv auto                                  &&
    get_lvs_ lv_kernel 5120                           &&
    lvchange -r 400 "$vg/$lv"                         &&


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]