|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1488 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1488.
Report 1488 Actions
Problem Report Number 1488 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0770 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-10-30 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification Base/fmtmsg 19 Problem Summary TSD4U.00043 The test may fail because of improper initialization Problem Text
The test may fail because of improper initialization
fmtmsg() Test 19 fails because it does not clean out the
"/dev/console" file between tests case. "/dev/console" is a
regular file during this test, and it contains output from the
previous test case. If
truncate("/dev/console",0)
is inserted before calling fmtmsg(), then the test passes. There
is nothing actually wrong with fmtmsg.Test Output
TEST CASE: fmtmsg
TEST PURPOSE #19
A call to int fmtmsg(long classification,
const char *label, int severity, const char *text,
const char *action, const char *tag) when a NULL value
is supplied for any message component except text
shall display a message with the corresponding
component of the message omitted.
PREP: Redirect console output to regular file
PREP: Read VSU_FMTMSG_CONSOLE variable from tetexec.cfg file
PREP: Redirect console output to regular file
PREP: Lock system console
PREP: Place id 1747 in lock
PREP: Create a regular temp file for console data
PREP: Rename /dev/console to /dev/console-save temporarily
PREP: Write /dev/console record to console lock
PREP: Set POSIX locale
PREP: Set MSGVERB=label:severity:text:action:tag
PREP: Issue fmtmsg(..., "...", MM_HALT, "...", "...", "...")
PREP: Read what was written to /dev/console
TEST: Compare actual and expected
PREP: Issue fmtmsg(..., "...", MM_HALT, "...", "...", NULL)
PREP: Read what was written to /dev/console
TEST: Compare actual and expected
PREP: Issue fmtmsg(..., "...", MM_HALT, "...", NULL, "...")
PREP: Read what was written to /dev/console
TEST: Compare actual and expected
ERROR: Canonicalized buffers differ -
Expected "1170:fmtmsg19: HALT: Test #19 for fmtmsg<cr>1170:fmtmsg19:019"
Actual "1170:fmtmsg19: HALT: Test #19 for fmtmsg<cr>TO FIX: Take action 1170:fmtmsg19:019<cr>1170:fmtmsg19: HALT: Test #19 for fmtmsg<cr>TO FIX: Take action <cr>1170:fmtmsg19: HALT: Test #19 for fmtmsg<cr>1170:fmtmsg19:019"
CLEANUP: Restore system console
19 FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 1488
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority