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

[Xen-devel] [OSSTEST PATCH 06/11] mg-repro-setup: Move logging setup to later



No functional change.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 mg-repro-setup | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/mg-repro-setup b/mg-repro-setup
index 10ab65a8..b41bf478 100755
--- a/mg-repro-setup
+++ b/mg-repro-setup
@@ -115,6 +115,13 @@ compute_adjusts () {
 }
 compute_adjusts "${adjustsets[@]}"
 
+progressf () { printf >&2 "$@"; }
+progress () { progressf "%s\n" "$1"; }
+
+progress "logging to $logfile"
+savelog "$logfile"
+exec 3>"$logfile"
+
 while [ $# -ne 0 ]; do
        arg=$1; shift
 
@@ -160,13 +167,6 @@ while [ $# -ne 0 ]; do
        esac
 done
 
-progressf () { printf >&2 "$@"; }
-progress () { progressf "%s\n" "$1"; }
-
-progress "logging to $logfile"
-savelog "$logfile"
-exec 3>"$logfile"
-
 OSSTEST_TASK=$(perl -e '
        use Osstest;
        use Osstest::Executive;
-- 
2.11.0


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.