HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1554 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1554.


Report 1554 Actions


    Problem Report Number 1554
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0836
    Raised 2000-12-19 08:00
    Updated 2003-03-13 08:00
    Published 2001-01-08 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/fstatvs 5
    Problem Summary TSD4U.00297 The tests may fail on systems that reserve some disk space for privileged users.
    Problem Text
    Test purpose #5 of fstatvfs and statvfs of subset CAPI.os checks to
    see if there are free blocks available to non-super-user. Under the
    current VSU5.1.1 set-up, this will always fail because the file
    system in which the test is performed is always full.

    In VSU5.0.4 or in earlier versions of VSU the fstatvfs test used to
    utilize the file system defined by the variable VSU_FILE_SYS. In
    VSU5.1.1, it uses the file system defined by variable VSX_NOSPC_DEV,
    which is a file system that is full.

    By the VSX rules, one should be able to use the same almost-full
    partition for all of VSX_MOUNT_DEV, VSX_NOSPC_DEV, and VSX_ROFS.
    VSU, on the other hand, always assumed it had a empty, or at least
    non-full, partition, and tests that still make that assuption under
    VSX/VSU will fail.

    By changing VSX_NOSPC_DEV to a non-full partition and re-running the
    tests, the test will pass.

    The test code:

    tet_infoline("TEST: f_bavail set");
    if(sv.f_bavail == 0) {
    sprintf(ebuf, "ERROR: f_bavail not set for file system %s", str);
    tet_infoline(ebuf);
    tet_result(TET_FAIL);
    return;
    }

    In this section of code we can see that, if using a full disk, the
    test would fail here.

    Test Output
    ************************************************************************
    /tset/CAPI.os/files/fstatvfs/T.fstatvfs 5 Failed

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Open directory
    PREP: Clear out the buffer
    PREP: Issue fstatvfs
    TEST: f_bavail set
    ERROR: f_bavail not set for file system ../tmp/mpoint

    ************************************************************************
    /tset/CAPI.os/files/statvfs/T.statvfs 5 Failed

    Test Information:
    PREP: Mount file-system read-write on ../tmp/mpoint
    PREP: Clear out the buffer
    PREP: Issue statvfs
    TEST: f_bavail set
    ERROR: f_bavail not set for file system ../tmp/mpoint

    ************************************************************************

    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:

     

    Back   


Contact the Certification Authority