设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
LFS(LinuxfromScratch)
›
Expect-5.43.0 make test有很多fail
返回列表
查看:
861
|
回复:
0
Expect-5.43.0 make test有很多fail
[复制链接]
xielingyun
xielingyun
当前离线
积分
101
IP卡
狗仔卡
发表于 2010-6-20 15:10:51
|
显示全部楼层
|
阅读模式
==== expect-1.4 glob pattern FAILED
==== Contents of test case:
expect "*"
exp_send "a\r"
set timeout 10
set x 0
expect "a" {set x 1}
set x
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: expect: spawn id exp4 not open
while executing
"expect "*""
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== expect-1.4 FAILED
==== expect-1.5 glob pattern buffering FAILED
==== Contents of test case:
expect "*"
exp_send "a\r"
set timeout 10
set x 0
expect "*" {set x 1}
set x
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: expect: spawn id exp4 not open
while executing
"expect "*""
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== expect-1.5 FAILED
==== expect-1.6 glob buffer FAILED
==== Contents of test case:
expect "*"
exp_send "philosophic\r"
set timeout 10
set x 0
expect "hi"
set x [string match *phi $expect_out(buffer)]
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: expect: spawn id exp4 not open
while executing
"expect "*""
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== expect-1.6 FAILED
==== expect-1.7 glob string FAILED
==== Contents of test case:
expect "*"
exp_send "philosophic\r"
set timeout 10
set x 0
expect "hi"
set expect_out(0,string)
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: expect: spawn id exp4 not open
while executing
"expect "*""
("uplevel" body line 2)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== expect-1.7 FAILED
spawn_id: spawn id exp4 not open
logfile.test
via sendvia send_uservia send_stdoutvia send_ttypid.test
send.test
==== send-1.1 basic send operation FAILED
==== Contents of test case:
spawn cat
after 1000
send "foo\r"
expect foo
after 1000
send "\u0004"
expect eof
regexp "\r\nfoo\r\n" $expect_out(buffer)
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: send: spawn id exp5 not open
while executing
"send "\u0004""
("uplevel" body line 7)
invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== send-1.1 FAILED
==== send-1.2 send null FAILED
==== Contents of test case:
spawn od -c
send "a\u0000b\r"
after 1000
send \u0004
expect eof
regexp "a \\\\0 b" $expect_out(buffer)
---- Result was:
0
---- Result should have been (exact matching):
1
==== send-1.2 FAILED
spawn.test
==== spawn-1.4 spawn open file FAILED
==== Contents of test case:
set x 0
set y 0
set file [open /tmp/[pid] w]
puts $file "testing expect's spawn -open"
exp_close $file
set pid [exp_spawn -open [open /tmp/[pid]]]
expect "testing expect's spawn -open" {set x 1}
expect eof {set y 1}
exec rm /tmp/[pid]
exp_wait
list $x $y $pid
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: child killed: segmentation violation
while executing
"exec rm /tmp/[pid]"
("uplevel" body line 11)
invoked from within
"uplevel 1 $script"
---- errorCode: CHILDKILLED 1657 SIGSEGV {segmentation violation}
==== spawn-1.4 FAILED
stty.test
all.tcl: Total 22 Passed 15 Skipped 0 Failed 7
Sourced 0 Test Files.
Files with failing tests: logfile.test send.test spawn.test
rm -f .tmp
复制代码
编译到Expect-5.43.0的时候make test出现了很多fail不知道这个有没有影响呢,lfs版本6.6,宿主机系统 fedora 13
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表