Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
86689dc5
Commit
86689dc5
authored
21 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
now test cases can be set to be dependent on the presence of "SSL" in the
client/library
parent
5f62a0c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/FILEFORMAT
+6
-0
6 additions, 0 deletions
tests/FILEFORMAT
tests/runtests.pl
+21
-0
21 additions, 0 deletions
tests/runtests.pl
with
27 additions
and
0 deletions
tests/FILEFORMAT
+
6
−
0
View file @
86689dc5
...
...
@@ -58,6 +58,12 @@ future all test cases should use this. Makes us independent of the test
case number.
</server>
<features>
A list of features that must be present in the client/library for this test
to be able to run. Features testable here are:
SSL
</features>
<killserver>
Using the same syntax as in <server> but when mentioned here these servers
are explicitly KILLED when this test case is completed. Only use this if there
...
...
This diff is collapsed.
Click to expand it.
tests/runtests.pl
+
21
−
0
View file @
86689dc5
...
...
@@ -930,6 +930,27 @@ sub serverfortest {
}
return
100
;
}
my
@what
=
getpart
("
client
",
"
features
");
for
(
@what
)
{
my
$f
=
$_
;
$f
=~
s/\s//g
;
print
STDERR
"
CHECK FOR
$f
\n
";
if
(
$f
eq
"
SSL
")
{
if
(
$ssl_version
)
{
last
;
}
}
warn
"
Test case
$testnum
requires the missing feature:
$_
";
return
100
;
}
my
@what
=
getpart
("
client
",
"
server
");
if
(
!
$what
[
0
])
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment