Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: recipes/engine_tests/bad_subprocess.expected/basic.json

Issue 1959563002: Use subprocess42 in recipe_engine to avoid threading madness. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: *sigh* presubmit Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « recipes/engine_tests/bad_subprocess.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "\nimport os\nimport time\nimport sys\n\nprint \"parent\"\npid = os.fork() \nif pid > 0:\n \"parent leaves\"\n sys.exit(0)\n\nprint \"child\"\npid = os.f ork()\nif pid > 0:\n \"child leaves\"\n sys.exit(0)\n\nprint \"daemon sleepin' \"\ntime.sleep(30)\n\nprint \"ROAAARRRR!!!\"\n"
7 ],
8 "name": "bad deamon",
9 "~followup_annotations": [
10 "@@@STEP_LOG_LINE@python.inline@@@@",
11 "@@@STEP_LOG_LINE@python.inline@import os@@@",
12 "@@@STEP_LOG_LINE@python.inline@import time@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
14 "@@@STEP_LOG_LINE@python.inline@@@@",
15 "@@@STEP_LOG_LINE@python.inline@print \"parent\"@@@",
16 "@@@STEP_LOG_LINE@python.inline@pid = os.fork()@@@",
17 "@@@STEP_LOG_LINE@python.inline@if pid > 0:@@@",
18 "@@@STEP_LOG_LINE@python.inline@ \"parent leaves\"@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(0)@@@",
20 "@@@STEP_LOG_LINE@python.inline@@@@",
21 "@@@STEP_LOG_LINE@python.inline@print \"child\"@@@",
22 "@@@STEP_LOG_LINE@python.inline@pid = os.fork()@@@",
23 "@@@STEP_LOG_LINE@python.inline@if pid > 0:@@@",
24 "@@@STEP_LOG_LINE@python.inline@ \"child leaves\"@@@",
25 "@@@STEP_LOG_LINE@python.inline@ sys.exit(0)@@@",
26 "@@@STEP_LOG_LINE@python.inline@@@@",
27 "@@@STEP_LOG_LINE@python.inline@print \"daemon sleepin'\"@@@",
28 "@@@STEP_LOG_LINE@python.inline@time.sleep(30)@@@",
29 "@@@STEP_LOG_LINE@python.inline@@@@",
30 "@@@STEP_LOG_LINE@python.inline@print \"ROAAARRRR!!!\"@@@",
31 "@@@STEP_LOG_END@python.inline@@@"
32 ]
33 },
34 {
35 "name": "$result",
36 "recipe_result": null,
37 "status_code": 0
38 }
39 ]
OLDNEW
« no previous file with comments | « recipes/engine_tests/bad_subprocess.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698