gaudirun.py
from Gaudi.Configuration import *
importOptions("$GAUDIPOOLDBROOT/options/GaudiPoolDbRoot.opts")
out = OutputStream(Output = "DATAFILE='PFN:76642_a.dst' TYP='POOL_ROOTTREE' OPT='RECREATE'")
out.ItemList = [ "/Event#999" ]
copy = InputCopyStream(Output = "DATAFILE='PFN:76642_b.dst' TYP='POOL_ROOTTREE' OPT='RECREATE'")
app = ApplicationMgr(OutStream = [out, copy],
EvtSel = "NONE", EvtMax = 5)
3
expected = "ERROR Origin of data has changed"
if not expected in stdout:
causes.append("missing signature")
result["GaudiTest.expected_line"] = result.Quote(expected)
true