http://oss.sgi.com/bugzilla/show_bug.cgi?id=774
------- Additional Comments From tes@xxxxxxx 2008-01-24 20:14 CST -------
Looked at some of the IRIX info but still can't see the *why* exactly :)
If we had the posix tests that were used to find the failures then
we could test against them I guess.
From IRIX:
doucette |1.124| | /*
doucette |1.124| | * Have to do this even
if the file's size doesn't change.
doucette |1.124| | */
doucette |1.144| | timeflags |=
XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG;
----------------------------
revision 1.124
date: 1994/10/26 00:51:22; author: doucette; state: Exp; lines: +23 -43
Fix bug 246123 - timestamp problems.
There are 2 bug fixes. First, all directory writes needed to set ctime.
Second, truncate (without create) needed to set mtime and ctime.
Also cleaned up a couple of other timestamp settings, in particular to
never set the nsec part of times.
----------------------------
----------------------------
revision 1.144
date: 1994/12/06 22:54:53; author: doucette; state: Exp; lines: +23 -8
Fix timestamp missing updates for readdir (access time) and chown,
chmod (change time). These were found by posix tests.
----------------------------
> 246123: posix-151-2:xfs:timestamps off on xfs files
> Description:
>
> eleven "Files and Directories" tests are failing due to mismatched timestamp
> values on xfs files.
>
> open 045 FAIL
> 046 FAIL
> creat 037 FAIL
> link 039 FAIL
> mkfifo 021 FAIL
> unlink 024 FAIL
> rename 043 FAIL
> stat 029 FAIL
> chmod 024 FAIL
> chown 023 FAIL
> remove 018 FAIL
>
> an example of the error message is (open):
>
> 9.<p1>.9.1.1. Preparation [4045]
> Initialize path to parent's directory for test file.
>
> 9.<p1>.9.1.2. Preparation [4045]
> Obtain a starting time, then call open() with O_CREAT set.
>
> 9.<p1>.9.1.3. Testing [4045]
> Time related elements "st_ctime", "st_mtime", and
> "st_atime" of the file are marked for update.
>
> 9.<p1>.9.1.4. Testing [4045]
> Time related elements "st_ctime" and "st_mtime"
> of parent directory are marked for update.
>
> ERROR (9.<p1>.9.1.4.):
> Time-related field "st_ctime" in error?.
> Expected minimum time is Oct 24 14:51:05 1994.
> Actual time recorded is Oct 24 14:50:51 1994.
>
> please check with me first before running anything on xfs2 but
> to look around do the following:
>
> rlogin posix@xfs2
>
> check with pwd that you are in /test/posix/NIST-PCTS.
>
> the test sources are under $HOME/STD/FD/src
> the utility and library sources are under $HOME/src
> the test binaries are under $HOME/STD/FD/bin
>
> most of these can be run to standout by moving into $HOME/STD/FD/bin
> and just invoking the test by name, e.g:
> $ cd STD/FD/bin
> $ ./readdir
>
> previously captured output can be viewed in $HOME/STD/adm under 'dot file'
> names, e.g.:
> $ cd STD/FD/adm
> $ vi .readdir
>
>
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|