Stew, thank you very much!<br><br>As for "mount the partition with noatime", I checked the file "/etc/fstab", but it doesn't use the switch "noatime". Can you tell me how to fix this failure£¿
<br><br>For "ttyname_r" failure, my glibc version is 2.5-1(I get it from "rpm -qa | grep glibc"). And i can still not know why it failed. The urls you refered seems unrelated with the failure.<br><br><br>
Does anyone has the problems of "sort" and "setvbuf"??<br><br>/tset/ANSI.org/streamio/setvbuf_X/T.setvbuf_X 3<br>/tset/LI18NUX2K.L1/utils/sort/T.sort 7, 23, 39<br><br><br><br>Thanks,<br>Jerry<br><br><br>
And the <br><br><div><span class="gmail_quote">2007/7/24, Stew Benedict <<a href="mailto:stewb@linux-foundation.org">stewb@linux-foundation.org</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Tue, 24 Jul 2007, jie dong wrote:<br><br>> The test is based on LSB 3.1 spec.<br>><br>> There are some failures in runtime test.<br>><br>><br>> Take "fopen" for example, the output messages are as below:
<br>> st_atime field on ./fopen-t.4.2 was not marked for update<br>> st_atime was 1185158235; should not be less than 1185158236<br>> st_ctime field on ./fopen-t.4.2 was not marked for update<br>> st_ctime was 1185158235; should not be less than 1185158236
<br>> st_mtime field on ./fopen-t.4.2 was not marked for update<br>> st_mtime was 1185158235; should not be less than 1185158236<br>><br><br>Is the partition perhaps mounted with "noatime"? This will cause failures
<br>similar to these.<br><br>><br>><br>> As for "setvbuf",<br>> buffer buf1 contained wrong character (b) at position 0<br>><br>><br>><br>> "sort":<br>> Can't interpret blank character.
<br>><br>><br><br>I don't think I've seen these. Perhaps someone else has run across<br>failures with these.<br><br>><br>><br>> "ttyname":<br>> If the implementation detects that fildes is not a valid file
<br>> descriptor: a call to ttyname_r(fildes, name, namesize) shall fail<br>> and return EBADF.<br>> Posix Ref: Component TTYNAME_R<br>> Assertion 9945-1:1996 4.7.2.4-2(C)<br>> The system does not support the PTHREAD_SCOPE_PROCESS scope, using
<br>> PTHREAD_SCOPE_SYSTEM<br>> The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>> PTHREAD_SCOPE_SYSTEM<br>> The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>> PTHREAD_SCOPE_SYSTEM
<br>> The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>> PTHREAD_SCOPE_SYSTEM<br>> The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>> PTHREAD_SCOPE_SYSTEM<br>> The system does not support the PTHREAD_SCOPE_PROCESS scope, using
<br>> PTHREAD_SCOPE_SYSTEM<br>> The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>> PTHREAD_SCOPE_SYSTEM<br>> The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>> PTHREAD_SCOPE_SYSTEM
<br>> ttyname_r, expected 9, got 25<br>> ttyname_r, expected 9, got 25<br>> ttyname_r, expected 9, got 25<br>> ttyname_r, expected 9, got 25<br>> ttyname_r, expected 9, got 25<br>> ttyname_r, expected 9, got 25
<br>> ttyname_r, expected 9, got 25<br>> ttyname_r, expected 9, got 25<br>><br><br>This one may be:<br><br><br><a href="http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ttyname_r.c.diff?r1=1.17&r2=1.18&cvsroot=glibc">
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ttyname_r.c.diff?r1=1.17&r2=1.18&cvsroot=glibc</a><br><a href="http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ttyname.c.diff?r1=1.20&r2=1.21&cvsroot=glibc">
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ttyname.c.diff?r1=1.20&r2=1.21&cvsroot=glibc</a><br><br>We had to patch glibc on Mandriva for a similar issue (when I worked for<br>them) - more info here:
<br><br><a href="http://www.linux-foundation.org/en/TestPilot31">http://www.linux-foundation.org/en/TestPilot31</a><br><br>As a general reporting hint, it would be good to report the actual test<br>path and test number. I was able to find the code for the setvbuf and sort
<br>tests, but the full path would have made it faster. (tjreport should<br>display this)<br><br>ie:<br><br>/tset/ANSI.os/streamio/setvbuf_X/T.setvbuf_X 3<br>/tset/LI18NUX2K.L1/utils/sort/T.sort 3<br><br>--<br>Stew Benedict
<br>The Linux Foundation<br></blockquote></div><br>