test: add smoke test scripts

This commit is contained in:
chenhaoran 2024-11-07 16:04:34 +08:00
parent 6dde0d1eb4
commit 902f133516
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def get_config(request):
def setup_module(get_config):
def run_cmd(command):
print("CMD:", command)
result = subprocess.run(command, capture_output=True, text=False, shell=False)
result = subprocess.run(command, capture_output=True, text=True, shell=True)
print("STDOUT:", result.stdout)
print("STDERR:", result.stderr)
print("Return Code:", result.returncode)