From 8c84500206dbe1b1cf4aea1f4b497ab279685066 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 Nov 2014 20:32:22 +0000 Subject: [PATCH] tests/tests/quilt: Reorganise loop into a function (nfc) --- tests/tests/quilt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/tests/quilt b/tests/tests/quilt index 9a4b1057..c9a50e9d 100755 --- a/tests/tests/quilt +++ b/tests/tests/quilt @@ -19,9 +19,7 @@ git fetch $tmp/incoming/$p dgit/sid:incoming dummy=0 -for cherry in incoming~1 incoming~0; do - git cherry-pick -x $cherry - +iteration () { dummy=$(( $dummy + 1)) v=3.2.6-2~dummy${dummy} @@ -29,7 +27,10 @@ for cherry in incoming~1 incoming~0; do t-dgit --dpkg-buildpackage:-d build t-dgit push t-pushed-good dgit/sid -done +} + +git cherry-pick -x incoming~1; iteration +git cherry-pick -x incoming~0; iteration t-822-field ../${p}_${v}_*.changes Changes | grep -Fx 'ruby-rails-3.2 (3.2.6-2~dummy1) unstable; urgency=low' -- 2.30.2