Article [#5563] Some ltp test case will get warning of "Directory not empty"

[#5563] Some ltp test case will get warning of "Directory not empty"

Submitted By: Vivi Li

Open Date

2009-09-27 04:00:41     Close Date

2009-10-28 22:34:09

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

Kernel Functions     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Out of Date

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1-09r1-rc9

App binary format:

N/A     

Summary: Some ltp test case will get warning of "Directory not empty"

Details:

Some ltp test case will get warning of "Directory not empty".

--

root:/> access04

access04    1  PASS  : Functionality of access(testdir/testfile, F_OK) successful

access04    0  WARN  :  tst_rmdir(): rmobj(/tmp/acc7FGefe) failed: rmdir(/tmp/acc7FGefe) failed; errno=39: Directory not empty

root:/>

--

Following test case will get the same warning:

access04, access05, chmod03, chmod04, fchmod03, fchmod04, fstat02, fstat04, lstat02, lstat03, mknod07, open08, readlink01, readlink03, stat01, stat02, stat03, symlink03, truncate03, truncate04, utime02, utime05.

Follow-ups

--- Graf Yang                                                2009-10-28 06:15:02

These warning disappeared when test using the latest code.

root:/ltp-emptydir> ./access04

access04    1  PASS  :  Functionality of access(testdir/testfile, F_OK)

successful

root:/ltp-emptydir> version

kernel:    Linux release 2.6.31.5-ADI-2010R1-pre-svn7722, build #10 Wed Oct 28

18:02:03 CST 2009

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-9061, build #1 Wed Oct 28 17:23:32 CST 2009

The old code do have this issue,

root:/ltp-emptydir> ./access04

access04    1  PASS  :  Functionality of access(testdir/testfile, F_OK)

successful

access04    0  WARN  :  tst_rmdir(): rmobj(/tmp/acc5VEid3) failed:

rmdir(/tmp/acc5VEid3) failed; errno=39: Directory not ey

root:/ltp-emptydir> version

kernel:    Linux release 2.6.30.5-ADI-2010R1-pre-svn7215, build #32 Wed Oct 28

16:03:10 CST 2009

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-8742, build #6 Wed Oct 28 12:32:48 CST 2009

--- Vivi Li                                                  2009-10-28 22:34:09

Yes, it's ok now.

So close it.

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.