[ovs-dev] [PATCH] tests/run-ryu: Correct logfile reporting
Simon Horman
horms at verge.net.au
Thu Feb 20 04:48:10 UTC 2014
$logfile is already prefixed by "$sandbox/" and suffixed by ".log"
so do not duplicate this prefix and suffix combination when appending
$logfile to $logs.
Cc: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Signed-off-by: Simon Horman <horms at verge.net.au>
---
tests/run-ryu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/run-ryu b/tests/run-ryu
index 05578d4..94fe6bb 100755
--- a/tests/run-ryu
+++ b/tests/run-ryu
@@ -97,7 +97,7 @@ run_app() {
EOF
logfile=$sandbox/`echo $app | sed 's,/,.,g'`.log
logs="$logs
- $sandbox/$logfile.log"
+ $logfile"
ryu-manager "$app" --log-file="$logfile" & pid=$!
echo $pid > "$sandbox/ryu.pid"
i=0
--
1.8.5.2
More information about the dev
mailing list