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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipes/engine_tests/bad_subprocess.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipes/engine_tests/bad_subprocess.expected/basic.json
diff --git a/recipes/engine_tests/bad_subprocess.expected/basic.json b/recipes/engine_tests/bad_subprocess.expected/basic.json
new file mode 100644
index 0000000000000000000000000000000000000000..465bafd74590fb41afc1d171439c36cbf5a26c82
--- /dev/null
+++ b/recipes/engine_tests/bad_subprocess.expected/basic.json
@@ -0,0 +1,39 @@
+[
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\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.fork()\nif pid > 0:\n \"child leaves\"\n sys.exit(0)\n\nprint \"daemon sleepin'\"\ntime.sleep(30)\n\nprint \"ROAAARRRR!!!\"\n"
+ ],
+ "name": "bad deamon",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@import os@@@",
+ "@@@STEP_LOG_LINE@python.inline@import time@@@",
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@",
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@print \"parent\"@@@",
+ "@@@STEP_LOG_LINE@python.inline@pid = os.fork()@@@",
+ "@@@STEP_LOG_LINE@python.inline@if pid > 0:@@@",
+ "@@@STEP_LOG_LINE@python.inline@ \"parent leaves\"@@@",
+ "@@@STEP_LOG_LINE@python.inline@ sys.exit(0)@@@",
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@print \"child\"@@@",
+ "@@@STEP_LOG_LINE@python.inline@pid = os.fork()@@@",
+ "@@@STEP_LOG_LINE@python.inline@if pid > 0:@@@",
+ "@@@STEP_LOG_LINE@python.inline@ \"child leaves\"@@@",
+ "@@@STEP_LOG_LINE@python.inline@ sys.exit(0)@@@",
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@print \"daemon sleepin'\"@@@",
+ "@@@STEP_LOG_LINE@python.inline@time.sleep(30)@@@",
+ "@@@STEP_LOG_LINE@python.inline@@@@",
+ "@@@STEP_LOG_LINE@python.inline@print \"ROAAARRRR!!!\"@@@",
+ "@@@STEP_LOG_END@python.inline@@@"
+ ]
+ },
+ {
+ "name": "$result",
+ "recipe_result": null,
+ "status_code": 0
+ }
+]
« 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