mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-29 03:32:49 +00:00
test/security_manager_sc: ignore stderr for test init
This commit is contained in:
parent
9a09a08acc
commit
7bbbec6baf
@ -346,13 +346,13 @@ def write_config(fout, test_descriptor):
|
||||
def run_test(test_descriptor):
|
||||
# shutdown previous sm_test instances
|
||||
try:
|
||||
subprocess.call("killall sm_test", shell = True)
|
||||
subprocess.run(['killall', 'sm_test'], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
except:
|
||||
pass
|
||||
|
||||
# trash all bonding informatino
|
||||
try:
|
||||
subprocess.call("rm /tmp/btstack_*", shell = True)
|
||||
subprocess.call(['rm', '-f', '/tmp/btstack_*'])
|
||||
except:
|
||||
pass
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user