|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1557 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 1557.
Report 1557 Actions
Problem Report Number 1557 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0839 Raised 2001-02-23 08:00 Updated 2003-03-13 08:00 Published 2001-03-14 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSU version 5.1.1 Test Identification CAPI.os/files/mknod 19 Problem Summary TSD4U.00300 The tests fail on systems which do not give precedence to EROFS over ENOSPC Problem Text
The tests fail because the filesystem used is out of inodes. When the test
tries to create a new inode, the file system returns ENOSPC, the test expects
EROFS.
The problem is an issue of precedence between EROFS and ENOSPC. The
file system is mounted read-only but is also out of inodes because
it is using VSX_NOSPC_DEV. When an attempt is made to create a new
file, the call could get EROFS or ENOSPC, depending on which
condition the implementation checks first. The POSIX and UNIX
standards do not specify any precedence between these errors.Test Output
************************************************************************
/tset/CAPI.os/files/mknod/T.mknod 19 Failed
Test Description:
Base Required Deviance
EROFS in errno and return -1 on a call to int mknod(const char *path,
mode_t mode, dev_t dev) when the file specified by path resides on a
read-only file system.
Test Information:
PREP: Mount file-system read-write on ../tmp/mpoint
PREP: Create files and directories
PREP: Mount file-system read-only on ../tmp/mpoint
TEST: EROFS on read-only file system and return -1
ERROR: mknod set errno to 28(ENOSPC - No space left on device)
************************************************************************
************************************************************************
/tset/CAPI.os/files/symlink/T.symlink 16 Failed
Test Description:
Base Required Deviance
EROFS in errno and return -1 on a call to int symlink(const char
*path1, const char *path2) when the file path2 resides on a read-only
file system.
Test Information:
PREP: Create a regular file.
PREP: Mount file-system read-write on ../tmp/mpoint
PREP: Create files and directories
PREP: Mount file-system read-only on ../tmp/mpoint
TEST: EROFS on read-only file system and return -1
ERROR: symlink set errno to 28(ENOSPC - No space left on device)
************************************************************************
************************************************************************
/tset/CAPI.os/sockets/bind/T.bind 21 Failed
Test Description:
Base Conditional Conformance
If the implementation supports the AF_UNIX communications domain and a
socket type:
EROFS in errno and return -1 on a call to int bind(int socket, const
struct sockaddr *address, socklen_t address_len) when the address
family of the socket is AF_UNIX and address would reside on a read-
only filesystem.
Test Information:
PREP: Create test sockaddr_un: path = ../tmp/unix.JhaWbI
TEST: AF_UNIX SOCK_STREAM
PREP: Create socket
PREP: Mount file-system read-write on ../tmp/mpoint
PREP: Create files and directories
PREP: Mount file-system read-only on ../tmp/mpoint
TEST: EROFS on read-only file system and return -1
ERROR: bind set errno to 28(ENOSPC - No space left on device)
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted as a fault in the test suite.
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 1557
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority