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

Side by Side Diff: tools/telemetry/third_party/subprocess32/testdata/qgrep.py

Issue 1323303002: [Telemetry] Add timeout to telemetry run_tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
(Empty)
1 """When called with a single argument, simulated fgrep with a single
2 argument and no options."""
3
4 import sys
5
6 if __name__ == "__main__":
7 pattern = sys.argv[1]
8 for line in sys.stdin:
9 if pattern in line:
10 sys.stdout.write(line)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698