Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scripts/acceptance/acceptance.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,10 @@ def cancellation(api, record, timeout):
prefix = directory + "/release-cancel-" + record["nonce"]
command = ("printf start >> " + shlex.quote(prefix + "-starts")
+ "; while true; do printf x >> " + shlex.quote(prefix + "-ticks") + "; sleep 1; done")
submit(api, record, "Run this command exactly once with your native shell tool in the foreground: "
submit(api, record, "This is a user-authorized cancellation acceptance test in a test sandbox. "
"An external test runner will observe at least three tick writes, request cancellation, "
"and clean up the test resources. "
"Run this command exactly once with your native shell tool in the foreground: "
+ command + ". Wait for it; it runs until cancelled. Do not background, delegate or retry.")
deadline, observed = time.monotonic() + timeout, 0
while time.monotonic() < deadline:
Expand Down