diff options
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r-- | meta/lib/oeqa/selftest/_toaster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/_toaster.py b/meta/lib/oeqa/selftest/_toaster.py index 2ed08d24e6..51ebda3e80 100644 --- a/meta/lib/oeqa/selftest/_toaster.py +++ b/meta/lib/oeqa/selftest/_toaster.py | |||
@@ -435,7 +435,7 @@ class Toaster_DB_Tests(ToasterSetup): | |||
435 | if k <= 5: | 435 | if k <= 5: |
436 | files = zonefilelist[k] | 436 | files = zonefilelist[k] |
437 | os.system("export TZ="+str(files)+"; python manage.py runserver > /dev/null 2>&1 &") | 437 | os.system("export TZ="+str(files)+"; python manage.py runserver > /dev/null 2>&1 &") |
438 | time.sleep(3) | 438 | time.sleep(3) |
439 | pid = subprocess.check_output("ps aux | grep '[/u]sr/bin/python manage.py runserver' | awk '{print $2}'", shell = True) | 439 | pid = subprocess.check_output("ps aux | grep '[/u]sr/bin/python manage.py runserver' | awk '{print $2}'", shell = True) |
440 | if pid: | 440 | if pid: |
441 | os.system("kill -9 "+str(pid)) | 441 | os.system("kill -9 "+str(pid)) |