This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/5735] New: testCoreThenRunCommand(frysk.hpd.TestCoreCommand) test fails


At the moment, I see this test failure:

Running testCoreThenRunCommand(frysk.hpd.TestCoreCommand) ...FAIL
  junit.framework.AssertionFailedError: sent: <run> expecting: <Attached to
process.*> got: <EOF>

Time: 0.884
There was 1 failure:
1)
testCoreThenRunCommand(frysk.hpd.TestCoreCommand)junit.framework.AssertionFailedError:
sent: <run> expecting: <Attached to process.*> got: <EOF>
   at frysk.hpd.HpdTestbed.expectPrompt(TestRunner)
   at frysk.hpd.HpdTestbed.sendCommandExpectPrompt(TestRunner)
   at frysk.hpd.TestCoreCommand.testCoreThenRunCommand(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)

Replicating the test manually produces this result. This tests fails 100% so not
sure what is differing in the manual test, and the junit test. Tried with  same
results with setting break on _start.

(fhpd) load /home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/funit-hello
Loaded executable file: 
/home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/funit-hello

(fhpd) break main
breakpoint 0 deferred

(fhpd) run
Attached to process 10826
starting/running with this command:
/home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/funit-hello 
Running process 10826
(fhpd) Breakpoint 0 main 0x4004e2

(fhpd) dump
Generating corefile 'core.10826' for process: 10826

(fhpd) quit

Quitting...

[pmuldoon@localhost frysk-core]$ ./frysk/bindir/fhpd core.10826
/home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/funit-hello
Attached to core file: /home/pmuldoon/frysk_bin/frysk-core/core.10826

(fhpd) run

Attached to process 10858
starting/running with this command:
/home/pmuldoon/frysk_bin/frysk-core/frysk/pkglibdir/funit-hello 

Running process 10858
(fhpd) Task 10858 is terminating from signal SIGSEGV(11)

-- 
           Summary: testCoreThenRunCommand(frysk.hpd.TestCoreCommand) test
                    fails
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: pmuldoon at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5735

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]