diff --git a/tests/system-test/0-management/1-stable/create_col_tag.py b/tests/system-test/0-management/1-stable/create_col_tag.py index fd8c7f17541163b7964b67f7bb85b148517a120d..5960c769f50dc7ebc205cfce88324906477f77c4 100644 --- a/tests/system-test/0-management/1-stable/create_col_tag.py +++ b/tests/system-test/0-management/1-stable/create_col_tag.py @@ -93,7 +93,8 @@ class TDTestCase: def run(self): - os.system("rm -rf 0-management/1-stable/create_col_tag.py.sql") + testcaseFilename = os.path.split(__file__)[-1] + os.system("rm -rf 0-management/1-stable/%s.sql" % testcaseFilename ) tdSql.prepare() print("==============step1")