summaryrefslogtreecommitdiff
path: root/python/subunit/tests/sample-script.py
blob: 33e5cb2ec3d615e2862fdf8ed3d61642c3091140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python
import sys
if len(sys.argv) == 2:
    print "test fail"
    print "error fail"
    sys.exit(0)
print "test old mcdonald"
print "success old mcdonald"
print "test bing crosby"
print "failure bing crosby ["
print "foo.c:53:ERROR invalid state"
print "]"
print "test an error"
print "error an error"
sys.exit(0)