Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Michal Čihař
updater
Commits
0200e14e
Verified
Commit
0200e14e
authored
Feb 27, 2018
by
Karel Koci
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop test that is broken because of missing ssl certificate
parent
6c04ef59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
tests/uri.lua
tests/uri.lua
+0
-4
No files found.
tests/uri.lua
View file @
0200e14e
...
...
@@ -188,8 +188,6 @@ function test_https_cert()
local
u4
=
uri
(
context
,
"https://api.turris.cz/"
,
{
verification
=
"cert"
,
ca
=
uri
.
system_cas
,
ocsp
=
false
})
-- systam_cas should result in success on repo as it's signed by common authority
local
u5
=
uri
(
context
,
"https://repo.turris.cz/"
,
{
verification
=
"cert"
,
ca
=
uri
.
system_cas
})
-- We can specify crl
local
u6
=
uri
(
context
,
"https://api.turris.cz/"
,
{
verification
=
"cert"
,
ca
=
ca_file
,
crl
=
crl_file
,
ocsp
=
false
})
local
ok1
=
u1
:
get
()
assert
(
ok1
)
local
ok2
=
u2
:
get
()
...
...
@@ -200,8 +198,6 @@ function test_https_cert()
assert_false
(
ok4
)
local
ok5
=
u5
:
get
()
assert
(
ok5
)
local
ok6
=
u6
:
get
()
assert
(
ok6
)
-- Check we can put the verification stuff into the context
context
.
ca
=
ca_file
context
.
verification
=
"cert"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment