[LTP] [PATCH] runltp: change the default cmdfile to exec when exec runltp -N
Xiao Yang
yangx.jy@cn.fujitsu.com
Tue Sep 4 02:58:09 CEST 2018
From: Sun Lianwen <sunlw.fnst@cn.fujitsu.com>
when exec "runltp -N" and no command files were provided, the
command file of "$LTPROOT/scenario_groups/network" should execute,
not the "$LTPROOT/scenario_groups/default".
Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com>
---
runltp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runltp b/runltp
index 24ea94fe5..1810c9384 100755
--- a/runltp
+++ b/runltp
@@ -609,7 +609,7 @@ main()
SCENARIO_LISTS="$LTPROOT/scenario_groups/default"
if [ "$RUN_NETEST" -eq 1 ]; then
- SCENARIO_LISTS="$SCENARIO_LISTS $LTPROOT/scenario_groups/network"
+ SCENARIO_LISTS="$LTPROOT/scenario_groups/network"
fi
# DO NOT INDENT/DEDENT!
--
2.18.0
More information about the ltp
mailing list