|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1450 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 1450.
Report 1450 Actions
Problem Report Number 1450 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0732 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-12-05 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.0 Test Identification base/lstat 3 12 Problem Summary TSD4U.00083 This test may fail on implementations that do not support block special devices. Problem Text
This test may fail on implementations that do not support block
special devices.
The test suite requires that the configuration variable,
VSU_FILE_SYS, be set to the absolute pathname of a block special
file which can be mounted as a filesystem. This works for us in
all of the tests which need to mount a file system - basically
because we were given the ability to write our own mount
routines. It doesn't work for the lstat() test purposes
mentioned above. This is due to the fact that we do not have a
block special filetype implemented on our system.
I looked through the SPEC 1170 book and could find no section on
block special files (unlike STREAMS, which has a descriptive
section). mknod() supports the creation of block special files
(S_IFBLK) but declares this "non-portable".
When we ran into block special device issues in the VSX test
suite they granted us TSD4.213. I believe these tests are the
only tests in the suite which require true block special files.Test Output
10|1472 /tset/CAPIbase/flstat/flstat3 18:20:02|TC Start, scenario ref 76
15|1454 1.10 1|TCM Start
400|1454 3 1 18:20:05|IC Start
200|1454 1 18:20:05|TP Start
520|1454 1 55246880 1 1|SPEC1170TESTSUITE CASE 3
520|1454 1 55246880 1 2|A call to int lstat(const char *path, struct sta
520|1454 1 55246880 1 3|*buf) when path references a block special file
520|1454 1 55246880 1 4|set the st_mode member of the stat structure poi
520|1454 1 55246880 1 5|to by buf to S_IFBLK.
520|1454 1 65077272 1 1|PREP: Obtain a block-special file
520|1454 1 65077272 1 2|TEST: lstat() sets the st_mode member to S_IFBLK
520|1454 1 65077272 1 3|ERROR: lstat failed, errno = 129(ENOENT - No suc
220|1454 1 1 18:20:05|FAIL
410|1454 3 1 18:20:05|IC End
80|1472 0 18:20:05|TC End
10|1481 /tset/CAPIbase/flstat/flstat12 18:20:32|TC Start, scenario ref 7
15|1463 1.10 1|TCM Start
400|1463 12 1 18:20:35|IC Start
200|1463 1 18:20:35|TP Start
520|1463 1 55836704 1 1|SPEC1170TESTSUITE CASE 12
520|1463 1 55836704 1 2|A call to int lstat(const char *path, struct sta
520|1463 1 55836704 1 3|*buf) when the object referenced by path is a
520|1463 1 55836704 1 4|character or block special file shall place the
520|1463 1 55836704 1 5|ID of the object into the st_rdev member of the
520|1463 1 55836704 1 6|structure pointed to by buf.
520|1463 1 65667096 1 1|PREP: Obtain a block-special file
520|1463 1 65667096 1 2|PREP: Obtain the ID of the device on which it is
520|1463 1 65667096 1 3|ERROR: stat failed, errno = 129(ENOENT - No such
220|1463 1 2 18:20:35|UNRESOLVED
410|1463 12 1 18:20:36|IC End
80|1481 0 18:20:36|TC EndReview 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 1450
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority