aboutsummaryrefslogtreecommitdiffstats
path: root/tests/LTP/agl_test_ltp_base.py
diff options
context:
space:
mode:
authoryanxk <yanxk.fnst@fujitsu.com>2022-10-23 14:31:34 +0800
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-01-23 14:41:27 +0000
commit5386506f863cc951f618f622d61adf93596eb6a0 (patch)
tree5a52a5286731eaa8dfc87cd5e5fe4e52617b73cf /tests/LTP/agl_test_ltp_base.py
parent36a23bcdd06bdc7524e793b2aa5a82abbbd2a5a8 (diff)
agl-test-framework: fix bug caused by prefix
prefix should be set to 'LTP/', otherwise the get_workdir() method in class AGLBaseTest would not work. Bug-AGL: SPEC-4345 Signed-off-by: yanxk <yanxk.fnst@fujitsu.com> Change-Id: I8a9eeaa78acde2fc6a8f085c0bcdef3b5b800b45
Diffstat (limited to 'tests/LTP/agl_test_ltp_base.py')
-rw-r--r--tests/LTP/agl_test_ltp_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/LTP/agl_test_ltp_base.py b/tests/LTP/agl_test_ltp_base.py
index 9c8f5bc..f8bd708 100644
--- a/tests/LTP/agl_test_ltp_base.py
+++ b/tests/LTP/agl_test_ltp_base.py
@@ -11,12 +11,12 @@ class LTPBase(AGLBaseTest):
RUNLTP = LTPDIR + "runltp"
LTPTEST = LTPDIR + "runtest/"
- #Test name without the prefix of "ltp/"
+ #Test name without the prefix of "LTP/"
test_name: str
def __init__(self, test_name: str):
self.test_name = test_name
- super().__init__(name = ("ltp/" + test_name))
+ super().__init__(name = ("LTP/" + test_name))
#Check and clean exit log
tmp_log_dir = self.get_log_path()