This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
[Bug 1001080] New: Truncate tests for diag_snprintf()
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-patches at ecos dot sourceware dot org
- Date: Mon, 22 Nov 2010 20:51:26 +0000
- Subject: [Bug 1001080] New: Truncate tests for diag_snprintf()
- Auto-submitted: auto-generated
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.