From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Wed, 13 Nov 2019 02:02:01 +0100 Subject: [LTP] [PATCH 2/2] network/netstress: set default options value after arg parsing In-Reply-To: <20191112151131.5740-2-alexey.kodanev@oracle.com> References: <20191112151131.5740-1-alexey.kodanev@oracle.com> <20191112151131.5740-2-alexey.kodanev@oracle.com> Message-ID: <20191113010201.GB21042@x230> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Alexey, > It fixes misleading warnings about multiple options being set: > $ netstress -H 127.0.0.1 > tst_test.c:500: WARN: Option -H passed multiple times > tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s > ... > But for the result path 'rpath', don't create a file if the option > is not set. > Signed-off-by: Alexey Kodanev Reviewed-by: Petr Vorel Tested-by: Petr Vorel Good catch :). Kind regards, Petr