Pytest: default settings on PC improvements (#30441)

* always multithreaded

* multithreaded

* pkill correct process

* escape more

* load for interfaces
old-commit-hash: 2ad82cbfb064676401876a20e49e3965c40344a0
This commit is contained in:
Justin Newberry
2023-11-13 10:45:24 -08:00
committed by GitHub
parent 543ea2bf57
commit efaa3ea500
6 changed files with 20 additions and 13 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ class TestSensord(unittest.TestCase):
os.environ["LSM_SELF_TEST"] = "1"
# read initial sensor values every test case can use
os.system("pkill -f ./sensord")
os.system("pkill -f \\\\./sensord")
try:
managed_processes["sensord"].start()
cls.sample_secs = int(os.getenv("SAMPLE_SECS", "10"))