Bug 5355

Summary: testInsertedBreakpoint fails at "deep" directory levels
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Phil Muldoon <pmuldoon>
Status: RESOLVED FIXED    
Severity: normal CC: mark
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1595    

Description Phil Muldoon 2007-11-19 13:53:51 UTC
ie 

cd /home/foo/frysk_bin/frysk-core
./Testrunner

and the test passes, but:

In a deep directory, like:

cd /home/foo/aaaaaaaa/bbbbbbb/cccccccc/dddddd/eeeeee<...>/frysk_bin/frysk-core

it fails with

1)
testInsertedBreakpoint(frysk.proc.dead.TestLinuxCore)java.lang.NullPointerException
   at frysk.proc.dead.TestLinuxCore.getFunctionEntryAddress(TestLinuxCore.java:466)
   at frysk.proc.dead.TestLinuxCore.testInsertedBreakpoint(TestLinuxCore.java:400)
   at frysk.junit.Runner.runCases(Runner.java:207)
   at frysk.junit.Runner.runArchCases(Runner.java:241)
   at frysk.junit.Runner.runTestCases(Runner.java:512)
   at TestRunner.main(TestRunner.java:61)
Comment 1 Phil Muldoon 2007-11-19 13:58:40 UTC
- Log -----------------------------------------------------------------
commit 1a09ef28c7da47ad245f2a502780e5e592308035
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Nov 19 13:57:35 2007 +0000

    Fix 5355, missing executable name in LinuxHost.
    
    2007-11-19  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* TestLinuxCore.java (testInsertedBreakpoint): Pass executable
    	name to corefile LinuxHost .

-----------------------------------------------------------------------