From e2ebc2a08d79b1300db7e017595f727c6b5551da Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 4 Aug 2008 09:15:15 +0000 Subject: [PATCH] * parse error output for 'auto' keyword --- test/t-read-ahead.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t-read-ahead.sh b/test/t-read-ahead.sh index a84a343c0..6f49df91c 100755 --- a/test/t-read-ahead.sh +++ b/test/t-read-ahead.sh @@ -54,7 +54,7 @@ test_expect_success "test various read ahead settings" \ 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" &&