On Tue, Oct 19, 2010 at 5:00 AM, Hannu Heikkinen
<[email protected]> wrote:
> On 18/10/10 08:56 +0200, ext ARJIT SHARMA wrote:
>>
>> Hi
>>
>>
>>       this is the log of PTY testcase i am getting...
>>
>>       all 3 tests ie. "pty01,ptem01 and hangup01"
>>
>>       failing because ptsname() function call failed.....
>>
>>
>>
>> INFO: creating /opt/ltp/results directory
>> If some fields are empty or look unusual you may have an old version.
>> Compare to the current minimal requirements in Documentation/Changes.
>>
>> Linux 192.168.1.10 2.6.32 #1 SMP Fri Oct 8 16:13:17 IST 2010 armv7l unknown 
>> unknown GNU/Linux
>>
>> Gnu C                  gcc (GCC) 4.5.0
>> Gnu make               3.81
>> util-linux             ng 2.16.1)
>> mount                  ng 2.16.1 (with libblkid support)
>> modutils               3.1
>> e2fsprogs              1.41.9
>> PPP                    2.4.4
>> Linux C Library        2.10.1
>> Dynamic linker (ldd)   2.10.1
>> Linux C++ Library      6.0.14
>> Procps                 3.2.7
>> Net-tools              1.60
>> iproute2              iproute2-ss100224
>> Console-tools          0.2.3
>> Sh-utils               5.2.1
>> Modules Loaded
>>
>> free reports:
>>              total       used       free     shared    buffers     cached
>> Mem:        255252      28548     226704          0          0      18124
>> -/+ buffers/cache:      10424     244828
>> Swap:            0          0          0
>>
>> /proc/cpuinfo
>> Processor              : ARMv7 Processor rev 1 (v7l)
>> processor              : 0
>> BogoMIPS            : 996.14
>>
>> processor              : 1
>> BogoMIPS            : 996.14
>>
>> Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16
>> CPU implementer  : 0x41
>> CPU architecture: 7
>> CPU variant           : 0x1
>> CPU part                : 0xc09
>> CPU revision         : 1
>>
>> Hardware               : ST-SPEAR1300-EVB
>> Revision                : 0000
>> Serial                      : 0000000000000000
>
> -clip-
>> <<<test_output>>>
>> pty01       1  TBROK  :  ptsname() call failed
> -clip-
>> ptem01      1  TBROK  :  ptsname() call failed
> -clip-
>> hangup01    1  TBROK  :  ptsname
> -clip-
>
> I guess u should run:
>
> # strace -f <testcase-bin>
>
> for having more detailed info regarding problem.
>
> What does
> # cat /proc/sys/kernel/pty/max
> say? If it is utterly small value, let's say 2..8, change it to eg:
> # echo 100 > /proc/sys/kernel/pty/max

Please try with the latest sources; the diagnostic messages should be
considerably better now.
-Garrett

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to