(refs #557, #559) use tarfile to upload multiple files from the master
[buildbot.git] / buildbot / test / emit.py
blob1e23e923f1c7a13cdb0f8a50031638d1ce251649
2 import os, sys
4 sys.stdout.write("this is stdout\n")
5 sys.stderr.write("this is stderr\n")
6 if os.environ.has_key("EMIT_TEST"):
7 sys.stdout.write("EMIT_TEST: %s\n" % os.environ["EMIT_TEST"])
8 open("log1.out","wt").write("this is log1\n")
10 rc = int(sys.argv[1])
11 sys.exit(rc)