In case OSSTEST_TASK was set by the caller, unset it.  Unsetting it
will cause each sg-run-job (inside mg-execute-task) to become its own
task.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 mg-repro-setup | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mg-repro-setup b/mg-repro-setup
index dc6c5cbb..5a52e617 100755
--- a/mg-repro-setup
+++ b/mg-repro-setup
@@ -247,7 +247,8 @@ progress "new flight is $flight"
 
 if [ "x$rebuilds_flight" != x ]; then
        progress "running build(s) $rebuilds_flight"
-       ./mg-execute-flight -B$rebuilds_blessing --progress-fd=2 \
+       env -u OSSTEST_TASK \
+                ./mg-execute-flight -B$rebuilds_blessing --progress-fd=2 \
                "${mgexecflags[@]}" $rebuilds_flight
 
        mro=tmp/$rebuilds_flight.mro
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to