预期的行为: 所有测试用例都必须通过。
实际行为: N7CppUnit10TestCallerI11ProcessTestEE中有4个测试用例失败
1)测试启动 2)testLaunchRedirectIn 3)testLaunchRedirectOut 4)testLaunchEnv
重现此问题的步骤:
解压poco源代码,对其进行编译并执行Foundation testrunner -all
。
其他相关信息:
POCO版本:1.7.5-全部
操作系统和版本:Linux 4.9.11
故障日志:
There were 4 failures:
1: N7CppUnit10TestCallerI11ProcessTestEE.testLaunch
"rc == 3"
in "src/ProcessTest.cpp", line 63
2: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchRedirectIn
"rc == 100"
in "src/ProcessTest.cpp", line 91
3: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchRedirectOut
"s == "Hello, world!""
in "src/ProcessTest.cpp", line 120
4: N7CppUnit10TestCallerI11ProcessTestEE.testLaunchEnv
"s == "test""
in "src/ProcessTest.cpp", line 153
我无法找出失败的原因。甚至互联网也无济于事。有人对失败有任何想法吗?