This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos 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 1001080] New: Truncate tests for diag_snprintf()


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001080

           Summary: Truncate tests for diag_snprintf()
           Product: eCos
           Version: CVS
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: minor
          Priority: low
         Component: Patches and contributions
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: sergei.gavrikov@gmail.com
                CC: ecos-patches@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1027)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1027)
patch for infra tests

Add a few simple tests for infra/diag_sprintf1 test, mainly to note the
difference of return values diag_snprintf() and ISO C99 snprintf().

Sample output:
...
PASS:<0/0 test return code>
PASS:<n=0 test>
PASS:<n=0 test return code>
PASS:<n=L test>
PASS:<n=L test return code>
PASS:<n=L-1 test>
PASS:<n=L-1 test return code>
PASS:<n=L+1 test>
PASS:<n=L+1 test return code>

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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