|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1144 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 1144.
Report 1144 Actions
Problem Report Number 1144 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0346 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.1 Test Identification Base/ptsname 3 Problem Summary PG4U.00125 This request claims that the rename() call in the test setup is not portable and is failing. Problem Text
This test is dependent upon being able to write (rename) in /dev.
The spec refers only to reading from /dev ....and whether or not
writing is allowed is implementation specific.Test Output
TEST CASE: ptsname
TEST PURPOSE #3
A call to char *ptsname(int fildes) when the slave
device name does not exist in the file system shall
return NULL.
PREP: Open master pseudo terminal
PREP: Get slave pseuc=do terminal
PREP: Unlock slave device
PREP: Get name of pseudo terminal device
PREP: Rename /dev/pts/3 to /dev/pts/3.save
TEST: ptsname returns NULL
ERROR: ptsname returned /dev/pts/3
CLEANUP: Rename /dev/pts/3.save to /dev/pts/3
3 FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
If the rename() call in the test setup was failing the test output
above should show an error after the line
PREP: Rename /dev/pts/3 to /dev/pts/3.save
and the test should fail with an UNRESOLVED result. Since this is
not happening we believe the rename succeeds in removing (renaming)
the slave device name.
According to the spec
Upon failure, ptsname() returns a null pointer. This could occur
if fildes is an invalid file descriptor or if the slave device
name does not exist in the file system.
Since the slave device has been renamed and no longer exists we
believe the IUT should be returning NULL.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1144
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority