Bug 5355 - testInsertedBreakpoint fails at "deep" directory levels
Summary: testInsertedBreakpoint fails at "deep" directory levels
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Phil Muldoon
URL:
Keywords:
Depends on:
Blocks: 1595
  Show dependency treegraph
 
Reported: 2007-11-19 13:53 UTC by Phil Muldoon
Modified: 2007-11-19 13:58 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 .

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