fix test result handling of tests running in own spawned arangosh (#9576)
fix test result handling of tests running in own spawned arangosh (#9576)


Simran-B/arangodb,Simran-B/arangodb,fceller/arangodb,fceller/arangodb,wiltonlazary/arangodb,graetzer/arangodb,Simran-B/arangodb,Simran-B/arangodb,fceller/arangodb,graetzer/arangodb,wiltonlazary/arangodb,arangodb/arangodb,graetzer/arangodb,wiltonlazary/arangodb,Simran-B/arangodb,fceller/arangodb,fceller/arangodb,graetzer/arangodb,graetzer/arangodb,fceller/arangodb,fceller/arangodb,wiltonlazary/arangodb,wiltonlazary/arangodb,graetzer/arangodb,arangodb/arangodb,arangodb/arangodb,wiltonlazary/arangodb,arangodb/arangodb,wiltonlazary/arangodb,graetzer/arangodb,graetzer/arangodb,graetzer/arangodb,graetzer/arangodb,fceller/arangodb,arangodb/arangodb,wiltonlazary/arangodb,Simran-B/arangodb,arangodb/arangodb,fceller/arangodb,graetzer/arangodb,graetzer/arangodb,arangodb/arangodb,arangodb/arangodb,graetzer/arangodb,Simran-B/arangodb,Simran-B/arangodb,Simran-B/arangodb,fceller/arangodb,graetzer/arangodb,Simran-B/arangodb