$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 <yamam...@valinux.co.jp>
Signed-off-by: Simon Horman <ho...@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

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to