X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FDPDK%2FDPDKTools.py;h=d7a780b223ff685620910b90c9c9e65d5f6b3779;hp=b6c351f3c2d0d6218d2154f59f32be0c941b73d5;hb=f893de60bb36c3e241a992cb389697997a1cd0f2;hpb=db24a2e63a447599b5125da4b6f93f0f9184bfcc 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)