From f893de60bb36c3e241a992cb389697997a1cd0f2 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Mon, 19 Aug 2019 08:05:54 +0200 Subject: [PATCH] Write DPDK version to log Change-Id: Ia9ec0d420c8db9e71234f74e4013c21d039931b2 Signed-off-by: Tibor Frank --- resources/libraries/python/DPDK/DPDKTools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/libraries/python/DPDK/DPDKTools.py b/resources/libraries/python/DPDK/DPDKTools.py index b6c351f3c2..d7a780b223 100644 --- a/resources/libraries/python/DPDK/DPDKTools.py +++ b/resources/libraries/python/DPDK/DPDKTools.py @@ -111,7 +111,7 @@ class DPDKTools(object): message = 'Install the DPDK failed!' exec_cmd_no_error(node, command, timeout=600, message=message) - command = ('cat {fwdir}/download_dir/dpdk*/VERSION'. + command = ('cat {fwdir}/dpdk*/VERSION'. format(fwdir=Constants.REMOTE_FW_DIR)) message = 'Get DPDK version failed!' stdout, _ = exec_cmd_no_error(node, command, message=message) -- 2.16.6