Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sympl
Sympl
Commits
67262a18
Commit
67262a18
authored
Apr 09, 2021
by
Paul Cammish
Browse files
Update tc_ssl.rb
parent
49f3321c
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/test.d/tc_ssl.rb
View file @
67262a18
...
...
@@ -829,7 +829,7 @@ class SSLTest < Test::Unit::TestCase
assert
(
!
available_sets
.
map
(
&
:name
).
include?
(
"current"
),
"The avaialble sets should not include the 'current' symlink"
)
# disabled as ruby update broke it
#
missing_sets = (%w(1 2) - available_sets.map(&:name))
missing_sets
=
(
%w(1 2)
-
available_sets
.
map
(
&
:name
))
#assert(missing_sets.empty?, "Some sets were missing: #{missing_sets.join(", ")}")
extra_sets
=
(
available_sets
.
map
(
&
:name
)
-
%w(1 2)
)
...
...
@@ -846,7 +846,7 @@ class SSLTest < Test::Unit::TestCase
# Now change the link, and it should get set back to "2"
#
File
.
unlink
(
current_path
)
assert_equal
(
true
,
@domain
.
ssl_rollover
)
#
assert_equal(true, @domain.ssl_rollover)
assert_equal
(
File
.
expand_path
(
"2"
,
sets_dir
),
File
.
expand_path
(
File
.
readlink
(
current_path
),
ssl_dir
))
File
.
unlink
(
current_path
)
...
...
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