From: Ian Jackson Date: Tue, 25 Apr 2017 13:17:45 +0000 (+0000) Subject: mg-repro-setup: Cope with flights referencing other builds X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b4740e1586c4504015000b0877213bf875e08b83;p=people%2Fiwj%2Fosstest.git mg-repro-setup: Cope with flights referencing other builds We attempted to do this by trying to adjust build runvars only if they didn't have a `.'. But cs-adjust-flight runvar-build-set has special handling for : it is always qualified with the flight. So change the match to look for the current flight number. Signed-off-by: Ian Jackson --- diff --git a/mg-repro-setup b/mg-repro-setup index 0b3137a1..4f2fe54e 100755 --- a/mg-repro-setup +++ b/mg-repro-setup @@ -199,7 +199,7 @@ if $skipcapture; then adjrunvar skip_testids "capture-logs*"; fi ./cs-adjust-flight $flight \ copy-jobs $example_flight $job \ - runvar-build-set . '/buildjob$' '^[^\.]+$' $example_flight \ + runvar-build-set . '/buildjob$' "^$flight\\." $example_flight \ "${adjusts[@]}" progress "executing ..."