On Wed, Oct 21, 2020 at 10:03:23AM +0800, Tong Qunfeng wrote:
On Tue, Oct 20, 2020 at 09:11:33PM +0800, Ren Wen wrote:
[Why] "-D : Do not daemonize" Option '-D' will run 'netserver' foreground. Need to get exit status of executed 'netserver' when running cluster test, so remove '-D'
how to solve the conflict to /c/lkp-tests "commit b9e2a2fe56e92f4fe5ac15251ab3f77d645fbf82" Author: Kemi Wang kemi.wang@intel.com Date: Wed Dec 26 13:30:25 2018 +0800
that commit add the "-D" options...
I'll track it.
Thanks, RenWen
[Ref] [Running 'netserver' as a standalone Daemon] (http://www.cs.kent.edu/~farrell/dist/ref/Netperf.html#0.2.2Z141Z1.SUJSTF.7R2...)
Signed-off-by: Ren Wen 15991987063@163.com
daemon/netserver | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemon/netserver b/daemon/netserver index 0302dd35..d6eff6da 100755 --- a/daemon/netserver +++ b/daemon/netserver @@ -9,5 +9,5 @@ opt_ip= [ "$ip" = 'ipv6' ] && opt_ip='-6'
# start netserver -log_echo netserver $opt_ip -D -exec netserver $opt_ip -D +log_echo netserver $opt_ip
+exec netserver $opt_ip
2.23.0
-- Thanks. chief tongqunfeng@huawei.com