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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1452 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 1452.


Report 1452 Actions


    Problem Report Number 1452
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0734
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-12-04 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/nftw 5
    Problem Summary TSD4U.00081 This test may fail on all implementations because of a logic error.
    Problem Text
    This test may fail on all implementations because of a logic error.

    This test tries to nftw() walk a file hierarchy. One of the files
    in the hierarchy is the a symbolic link to itself.

    ../tmp/data/loop -> ./loop

    Since nftw() is doing the walk without setting the FTW_PHYS flag
    symbolic links are followed. This entry loops on itself until it
    generates an ELOOP error and the test fails.
    Test Output
    "SPEC1170TESTSUITE AREA nftw 0"
    Build Start, scenario ref 3-1
    Build End
    TC Start, scenario ref 3-1, ICs {5}
    TCM Start
    IC Start
    TP Start
    SPEC1170TESTSUITE CASE 5
    A call to int nftw(const char *path, int (*fn)(const
    char *, const struct stat *, int, struct FTW *), int
    depth, int flags) when FTW_MOUNT is not set shall
    report all files encountered.
    PREP: Mount file-system read-write on ../tmp/mpoint
    TEST: nftw without FTW_MOUNT crosses mount point
    INFO: Call to fn() at ../tmp
    INFO: Call to fn() at ../tmp/data
    INFO: Call to fn() at ../tmp/data/d333
    INFO: Call to fn() at ../tmp/data/d666
    INFO: Call to fn() at ../tmp/data/d666/errs
    INFO: Call to fn() at ../tmp/data/d777
    INFO: Call to fn() at ../tmp/data/d777/errs
    INFO: Call to fn() at ../tmp/data/dirg
    INFO: Call to fn() at ../tmp/data/dirg/filebad
    INFO: Call to fn() at ../tmp/data/dirg/fileok
    INFO: Call to fn() at ../tmp/data/dirg/symlink
    INFO: Call to fn() at ../tmp/data/dirg/dir_left.1
    INFO: Call to fn() at ../tmp/data/dirg/dir_left.1/dir_left.2
    INFO: Call to fn() at ../tmp/data/dirg/dir_left.1/dir_left.2/left.3
    INFO: Call to fn() at ../tmp/data/dirg/dir_right.1
    INFO: Call to fn() at ../tmp/data/dirh
    INFO: Call to fn() at ../tmp/data/dirh/dir_left.1
    INFO: Call to fn() at ../tmp/data/dirh/dir_left.1/dir_left.2
    INFO: Call to fn() at ../tmp/data/dirh/dir_left.1/dir_left.2/left.3
    INFO: Call to fn() at ../tmp/data/dirh/dir_right.1
    INFO: Call to fn() at ../tmp/data/dirh/dir_right.1/dir_right.2
    INFO: Call to fn() at ../tmp/data/dirh/dir_right.1/dir_right.2/right.3
    INFO: Call to fn() at ../tmp/data/dirl
    INFO: Call to fn() at ../tmp/data/dirl/dir_left.1
    INFO: Call to fn() at ../tmp/data/dirl/dir_left.1/dir_left.2
    INFO: Call to fn() at ../tmp/data/dirl/dir_right.1
    INFO: Call to fn() at ../tmp/data/dirl/dir_right.1/dir_right.2
    ERROR: nftw failed, errno = 62(ELOOP - Too many levels of symbolic links)
    UNRESOLVED

    Review 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:

     

    Back   


Contact the Certification Authority