(no subject)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Minor fixes to t-unknown-segment.sh.
In reply to a message not in the archiveNeed to grep out "Generated" line or the test failed for me. Qualify vgcfgbackup to only backup the vg we've created.
Signed-off-by Dave Wysochanski <[email protected]>
--- test/t-unknown-segment.sh | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
test/t-unknown-segment.sh +5 -5
@@ -16,16 +16,16 @@ aux prepare_vg 4 lvcreate -l 1 -n $lv1 $vg lvcreate -l 2 -m 1 -n $lv2 $vg -vgcfgbackup -f bak0 +vgcfgbackup -f bak0 $vg sed -e 's,striped,unstriped,;s,mirror,unmirror,' -i.orig bak0 vgcfgrestore -f bak0 $vg -vgcfgbackup -f bak1 +vgcfgbackup -f bak1 $vg cat bak1 sed -e 's,unstriped,striped,;s,unmirror,mirror,' -i.orig bak1 vgcfgrestore -f bak1 $vg -vgcfgbackup -f bak2 +vgcfgbackup -f bak2 $vg -egrep -v 'description|seqno|creation_time' < bak0.orig > a -egrep -v 'description|seqno|creation_time' < bak2 > b +egrep -v 'description|seqno|creation_time|Generated' < bak0.orig > a +egrep -v 'description|seqno|creation_time|Generated' < bak2 > b diff -u a b
Signature · 1 line
1.6.0.6