git.samba.org
/
third_party
/
subunit
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Support arguments in ExecTestCase.
[third_party/subunit]
/
python
/
subunit
/
tests
/
sample-script.py
1
#!/usr/bin/env python
2
import sys
3
if len(sys.argv) == 2:
4
print "test fail"
5
print "error fail"
6
sys.exit(0)
7
print "test old mcdonald"
8
print "success old mcdonald"
9
print "test bing crosby"
10
print "failure bing crosby ["
11
print "foo.c:53:ERROR invalid state"
12
print "]"
13
print "test an error"
14
print "error an error"
15
sys.exit(0)