diff -ur /usr/share/doc/root/test/Makefile test/Makefile --- /usr/share/doc/root/test/Makefile 2006-09-30 18:17:14.000000000 +0000 +++ test/Makefile 2006-10-30 12:58:35.000000000 +0000 @@ -17,7 +17,7 @@ ifeq ($(PLATFORM),win32) EVENTLIB = libEvent.lib else -EVENTLIB = $(EVENTSO) +EVENTLIB = $(shell pwd)/$(EVENTSO) endif MAINEVENTO = MainEvent.$(ObjSuf) diff -ur /usr/share/doc/root/test/stressHepix.cxx test/stressHepix.cxx --- /usr/share/doc/root/test/stressHepix.cxx 2006-09-15 10:05:30.000000000 +0000 +++ test/stressHepix.cxx 2006-10-30 12:47:33.000000000 +0000 @@ -71,7 +71,14 @@ void runTest(const char *atest, int estimate) { printf("Running : %s, (takes %d RT seconds on the ref machine)\n",atest,estimate); - gSystem->Exec(Form("%s >>stressHepix.log",atest)); + TString cmdname(gROOT->GetApplication()->Argv(0)); + TString prefix("."); + Ssiz_t offset; + if ((offset = cmdname.Last('/')) != kNPOS) { + cmdname.Resize(offset); + prefix = cmdname; + } + gSystem->Exec(Form("%s/%s >>stressHepix.log",prefix.Data(),atest)); } int main(int argc, char **argv)