[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/test t-lvconvert-mirror-basic.sh

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac sourceware org	2011-03-03 12:30:33

Modified files:
	test           : t-lvconvert-mirror-basic.sh 

Log message:
	Do not echo y to lvconvert
	This lvconvert is now able to complete operation automatically without question.
	So remove  'echo y |'  - it's breaking pipe on some bash versions.
	+ echo y
	./t-lvconvert-mirror-basic.sh: line 104: echo: write error: Broken pipe
	while command has completed this operation succesfully


--- LVM2/test/t-lvconvert-mirror-basic.sh	2011/01/28 16:07:04	1.7
+++ LVM2/test/t-lvconvert-mirror-basic.sh	2011/03/03 12:30:33	1.8
@@ -101,7 +101,7 @@
 		alloc="--alloc anywhere"
-	echo y | lvconvert -m $finish_count --mirrorlog $finish_log_type \
+	lvconvert -m $finish_count --mirrorlog $finish_log_type \
 		$vg/$lv1 $alloc
 	if ! $active; then

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]