From: Simon Horman Date: Thu, 20 Feb 2014 04:48:10 +0000 (+0900) Subject: tests/run-ryu: Correct logfile reporting X-Git-Tag: sliver-openvswitch-2.1.90-1~1^2~26 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=17b9089a32e9edc01157989f536525a53635c2d2 tests/run-ryu: Correct logfile reporting $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 Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- diff --git a/tests/run-ryu b/tests/run-ryu index 05578d493..94fe6bbb5 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