[LDTP-Dev] [Bug 339884] New: the node </ldtp> will be writen more times

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Apr 27 00:04:06 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=339884
 LDTP | ldtp | Ver: 0.3.x

           Summary: the node </ldtp> will be writen more times
           Product: LDTP
           Version: 0.3.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ldtp
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: lavixu at hotmail.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
the node </ldtp> will be writen more times.
like below:
<?xml version='1.0' encoding='utf-8'?>
<!-- XML Logging -->
<ldtp>
<group name="Executing-group1">
<debug>Data file maynot be present</debug>
<script name="1_test.py">
<warning>data xml tag missing</warning>
<debug>Reporting Bug</debug>
<debug>Check: rbtnTheapplicationdoesnotfunctioncorrectly!</debug>
<debug>Check: rbtnThedocumentationiswrong!</debug>
<debug>click the button: btnForward</debug>
<debug>Succuessful Starting</debug>
</script>
<groupstatus>1 test scripts passed of 1</groupstatus>
</group>
</ldtp>                      <!-------------<<<<-------------->
<group name="Executing-group1">
<debug>Data file maynot be present</debug>
<script name="1_test.py">
<warning>data xml tag missing</warning>
<debug>Reporting Bug</debug>
<debug>Check: rbtnTheapplicationdoesnotfunctioncorrectly!</debug>
<debug>Check: rbtnThedocumentationiswrong!</debug>
<debug>click the button: btnForward</debug>
<debug>Succuessful Starting</debug>
</script>
<groupstatus>1 test scripts passed of 1</groupstatus>
</group>
</ldtp>


Steps to reproduce:
1. set the option logfileoverwrite to 0.
2. run one script twice.
3. check the log file


Actual results:
there are twice node </ldtp>.

Expected results:
can not correctly show the xml in Mozilla.

Does this happen every time?
every time

Other information:
1. can the format of logfile indent?
    it will nice for check after runed.
2. if you delete the logfile and run script again.
    the belowe doesnt be writen again. 
<?xml version='1.0' encoding='utf-8'?>
<!-- XML Logging -->
<ldtp>


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are watching the assignee for the bug.


More information about the LDTP-dev mailing list