Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
85833408
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
85833408
编写于
10月 12, 2015
作者:
A
Andy Polyakov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Test suite: chomp->s/\R// to harmonize with mingw 'make test'.
Reviewed-by:
N
Richard Levitte
<
levitte@openssl.org
>
上级
4ada8be2
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
10 addition
and
10 deletion
+10
-10
test/recipes/00-check_testexes.t
test/recipes/00-check_testexes.t
+3
-3
test/recipes/10-test_bn.t
test/recipes/10-test_bn.t
+1
-1
test/recipes/20-test_enc.t
test/recipes/20-test_enc.t
+1
-1
test/recipes/25-test_req.t
test/recipes/25-test_req.t
+1
-1
test/recipes/70-test_sslextension.t
test/recipes/70-test_sslextension.t
+1
-1
test/recipes/70-test_sslsessiontick.t
test/recipes/70-test_sslsessiontick.t
+1
-1
test/recipes/70-test_sslskewith0p.t
test/recipes/70-test_sslskewith0p.t
+1
-1
test/recipes/70-test_sslvertol.t
test/recipes/70-test_sslvertol.t
+1
-1
未找到文件。
test/recipes/00-check_testexes.t
浏览文件 @
85833408
...
...
@@ -12,7 +12,7 @@ my $OpenSSL_ver = "";
my
$Makefile
=
top_file
("
Makefile
");
if
(
open
(
FH
,
$Makefile
))
{
$OpenSSL_ver
=
(
map
{
chomp
;
s/^VERSION=([^\s]*)\s*$//
;
$
1
}
grep
{
/^VERSION=/
}
<
FH
>
)[
0
];
(
map
{
s/\R//
;
s/^VERSION=([^\s]*)\s*$//
;
$
1
}
grep
{
/^VERSION=/
}
<
FH
>
)[
0
];
close
FH
;
}
...
...
@@ -24,14 +24,14 @@ plan skip_all => "because MINFO not found. If you want this test to run, please
my
$MINFO_ver
=
"";
while
(
<
FH
>
)
{
chomp
;
s/\R//
;
#
chomp;
if
(
/^VERSION=([^\s]*)\s*$/
)
{
$MINFO_ver
=
$
1
;
}
last
if
/^RELATIVE_DIRECTORY=test$/
;
}
while
(
<
FH
>
)
{
chomp
;
s/\R//
;
#
chomp;
last
if
/^EXE=/
;
}
close
FH
;
...
...
test/recipes/10-test_bn.t
浏览文件 @
85833408
...
...
@@ -25,7 +25,7 @@ my $init = ok(run(test(["bntest"], stdout => $testresults)), 'initialize');
@lines
=
<
DATA
>
;
close
DATA
;
}
chomp
(
@lines
);
map
{
s/\R//
;
}
@lines
;
#
chomp(@lines);
plan
tests
=>
scalar
grep
(
/^print /
,
@lines
);
...
...
test/recipes/20-test_enc.t
浏览文件 @
85833408
...
...
@@ -21,7 +21,7 @@ my $test = catfile(".", "p");
my
$cmd
=
"
openssl
";
my
@ciphers
=
map
{
chomp
;
s/^\s+//
;
s/\s+$//
;
split
/\s+/
}
map
{
s/^\s+//
;
s/\s+$//
;
split
/\s+/
}
run
(
app
([
$cmd
,
"
list
",
"
-cipher-commands
"]),
capture
=>
1
);
plan
tests
=>
1
+
(
scalar
@ciphers
)
*
2
;
...
...
test/recipes/25-test_req.t
浏览文件 @
85833408
...
...
@@ -31,7 +31,7 @@ sub run_conversion {
open
DATA
,
"
req-check.err
";
SKIP:
{
plan
skip_all
=>
"
skipping req conversion test for
$reqfile
"
if
grep
/Unknown Public Key/
,
map
{
chomp
}
<
DATA
>
;
if
grep
/Unknown Public Key/
,
map
{
s/\R//
;
}
<
DATA
>
;
tconversion
("
req
",
"
testreq.pem
",
@openssl_args
);
}
...
...
test/recipes/70-test_sslextension.t
浏览文件 @
85833408
...
...
@@ -60,7 +60,7 @@ my $test_name = "test_sslextension";
setup
(
$test_name
);
plan
skip_all
=>
"
$test_name
can only be performed with OpenSSL configured shared
"
unless
(
map
{
chomp
;
s/^SHARED_LIBS=\s*//
;
$_
}
unless
(
map
{
s/\R//
;
s/^SHARED_LIBS=\s*//
;
$_
}
grep
{
/^SHARED_LIBS=/
}
do
{
local
@ARGV
=
(
top_file
("
Makefile
")
);
<>
})[
0
]
ne
"";
...
...
test/recipes/70-test_sslsessiontick.t
浏览文件 @
85833408
...
...
@@ -61,7 +61,7 @@ my $test_name = "test_sslsessiontick";
setup
(
$test_name
);
plan
skip_all
=>
"
$test_name
can only be performed with OpenSSL configured shared
"
unless
(
map
{
chomp
;
s/^SHARED_LIBS=\s*//
;
$_
}
unless
(
map
{
s/\R//
;
s/^SHARED_LIBS=\s*//
;
$_
}
grep
{
/^SHARED_LIBS=/
}
do
{
local
@ARGV
=
(
top_file
("
Makefile
")
);
<>
})[
0
]
ne
"";
...
...
test/recipes/70-test_sslskewith0p.t
浏览文件 @
85833408
...
...
@@ -60,7 +60,7 @@ my $test_name = "test_sslskewith0p";
setup
(
$test_name
);
plan
skip_all
=>
"
$test_name
can only be performed with OpenSSL configured shared
"
unless
(
map
{
chomp
;
s/^SHARED_LIBS=\s*//
;
$_
}
unless
(
map
{
s/\R//
;
s/^SHARED_LIBS=\s*//
;
$_
}
grep
{
/^SHARED_LIBS=/
}
do
{
local
@ARGV
=
(
top_file
("
Makefile
")
);
<>
})[
0
]
ne
"";
...
...
test/recipes/70-test_sslvertol.t
浏览文件 @
85833408
...
...
@@ -60,7 +60,7 @@ my $test_name = "test_sslextension";
setup
(
$test_name
);
plan
skip_all
=>
"
$test_name
can only be performed with OpenSSL configured shared
"
unless
(
map
{
chomp
;
s/^SHARED_LIBS=\s*//
;
$_
}
unless
(
map
{
s/\R//
;
s/^SHARED_LIBS=\s*//
;
$_
}
grep
{
/^SHARED_LIBS=/
}
do
{
local
@ARGV
=
(
top_file
("
Makefile
")
);
<>
})[
0
]
ne
"";
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录