On 02/05/2010 10:22 AM, Garrett Cooper wrote:
>      There's a race condition somewhere in utimensat.sh from what I've
> seen where one of the processes executes and then it blocks
> indefinitely [I was stracing the script and it was blocking on a
> wait(2) call]. Have others seen similar issues?
>    
Hi Garret,

I tested with 2.6.32 kernel and i did not face this issue. Below is the 
resule.

Also glibc-2.11.1-0.1.3 .

@List, Please inform us if you are facing the issue with package & 
kernel version mentioned by garret.

...
============================================================

tv_sec should be ignored if tv_nsec is UTIME_OMIT or UTIME_NOW
***** Testing times=={ UTIME_NOW, UTIME_NOW } case *****
Pathname test
Owner=nobody; perms=-rw-------; EFAs=---
cp: `/opt/ltp/testcases/bin/utimensat01' and `./utimensat01' are the 
same file
./utimensat01 -q /tmp/ltp-yMUOddEzJT/utimensat_tests/utimensat.test_file 
1 n 1 n
EXPECTED: SUCCESS y  y
RESULT:   SUCCESS 1265348846 1265348846
PASSED test 98

***** Testing times=={ UTIME_OMIT, UTIME_OMIT } case *****
Pathname test
Owner=nobody; perms=-rw-------; EFAs=---
cp: `/opt/ltp/testcases/bin/utimensat01' and `./utimensat01' are the 
same file
./utimensat01 -q /tmp/ltp-yMUOddEzJT/utimensat_tests/utimensat.test_file 
1 o 1 o
EXPECTED: SUCCESS n  n
RESULT:   SUCCESS 0 0
PASSED test 99

============================================================

Linux mhs21a 2.6.32 #1 SMP 2010-01-25 17:19:14 +0100 x86_64 x86_64 
x86_64 GNU/Linux
Fri Feb  5 11:17:27 IST 2010
Total tests: 99; passed: 99; failed: 0
<<<execution_status>>>
initiation_status="ok"
duration=5 termination_type=exited termination_id=0 corefile=no
cutime=162 cstime=308
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100131

        ###############################################################"

             Done executing testcases."
             LTP Version:  LTP-20100131
        ###############################################################"

mhs21a:/opt/ltp #

Fri Feb  5 10:39:19 IST 2010
Total tests: 99; passed: 99; failed: 0


Thanks
Rishi

> gcoo...@orangebox /scratch/ltp $ emerge --info
> Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.3.4,
> glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
> =================================================================
> System uname: 
> linux-2.6.31-gentoo-r6-x86_64-intel-r-_core-tm-2_quad_cpu_q94...@_2.66ghz-with-gentoo-1.12.13
> Timestamp of tree: Sat, 30 Jan 2010 09:30:01 +0000
> app-shells/bash:     4.0_p35
> dev-java/java-config: 2.1.9-r2
> dev-lang/python:     2.6.4
> sys-apps/baselayout: 1.12.13
> sys-apps/sandbox:    1.6-r2
> sys-devel/autoconf:  2.13, 2.63-r1
> sys-devel/automake:  1.9.6-r2, 1.10.2
> sys-devel/binutils:  2.18-r3
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool:   2.2.6b
> virtual/os-headers:  2.6.27-r2
>
> Thanks,
> -Garrett
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>    


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to