Stew, thank you very much!<br><br>As for &quot;mount the partition with noatime&quot;, I checked the file &quot;/etc/fstab&quot;, but it doesn&#39;t use the switch &quot;noatime&quot;. Can you tell me how to fix this failure£¿
<br><br>For &quot;ttyname_r&quot; failure, my glibc version is 2.5-1(I get it from &quot;rpm -qa | grep glibc&quot;). 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 &quot;sort&quot; and &quot;setvbuf&quot;??<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 &lt;<a href="mailto:stewb@linux-foundation.org">stewb@linux-foundation.org</a>&gt;:</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>&gt; The test is based on LSB 3.1 spec.<br>&gt;<br>&gt; There are some failures in runtime test.<br>&gt;<br>&gt;<br>&gt; Take &quot;fopen&quot; for example, the output messages are as below:
<br>&gt; st_atime field on ./fopen-t.4.2 was not marked for update<br>&gt; st_atime was 1185158235; should not be less than 1185158236<br>&gt; st_ctime field on ./fopen-t.4.2 was not marked for update<br>&gt; st_ctime was 1185158235; should not be less than 1185158236
<br>&gt; st_mtime field on ./fopen-t.4.2 was not marked for update<br>&gt; st_mtime was 1185158235; should not be less than 1185158236<br>&gt;<br><br>Is the partition perhaps mounted with &quot;noatime&quot;? This will cause failures
<br>similar to these.<br><br>&gt;<br>&gt;<br>&gt; As for &quot;setvbuf&quot;,<br>&gt; buffer buf1 contained wrong character (b) at position 0<br>&gt;<br>&gt;<br>&gt;<br>&gt; &quot;sort&quot;:<br>&gt; Can&#39;t interpret blank character.
<br>&gt;<br>&gt;<br><br>I don&#39;t think I&#39;ve seen these. Perhaps someone else has run across<br>failures with these.<br><br>&gt;<br>&gt;<br>&gt; &quot;ttyname&quot;:<br>&gt; If the implementation detects that fildes is not a valid file
<br>&gt; descriptor: a call to ttyname_r(fildes, name, namesize) shall fail<br>&gt; and return EBADF.<br>&gt; Posix Ref: Component TTYNAME_R<br>&gt; Assertion 9945-1:1996 4.7.2.4-2(C)<br>&gt; The system does not support the PTHREAD_SCOPE_PROCESS scope, using
<br>&gt; PTHREAD_SCOPE_SYSTEM<br>&gt; The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>&gt; PTHREAD_SCOPE_SYSTEM<br>&gt; The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>&gt; PTHREAD_SCOPE_SYSTEM
<br>&gt; The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>&gt; PTHREAD_SCOPE_SYSTEM<br>&gt; The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>&gt; PTHREAD_SCOPE_SYSTEM<br>&gt; The system does not support the PTHREAD_SCOPE_PROCESS scope, using
<br>&gt; PTHREAD_SCOPE_SYSTEM<br>&gt; The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>&gt; PTHREAD_SCOPE_SYSTEM<br>&gt; The system does not support the PTHREAD_SCOPE_PROCESS scope, using<br>&gt; PTHREAD_SCOPE_SYSTEM
<br>&gt; ttyname_r, expected 9, got 25<br>&gt; ttyname_r, expected 9, got 25<br>&gt; ttyname_r, expected 9, got 25<br>&gt; ttyname_r, expected 9, got 25<br>&gt; ttyname_r, expected 9, got 25<br>&gt; ttyname_r, expected 9, got 25
<br>&gt; ttyname_r, expected 9, got 25<br>&gt; ttyname_r, expected 9, got 25<br>&gt;<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&amp;r2=1.18&amp;cvsroot=glibc">
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ttyname_r.c.diff?r1=1.17&amp;r2=1.18&amp;cvsroot=glibc</a><br><a href="http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ttyname.c.diff?r1=1.20&amp;r2=1.21&amp;cvsroot=glibc">
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ttyname.c.diff?r1=1.20&amp;r2=1.21&amp;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>