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
7c144d5a
Commit
7c144d5a
authored
18 years ago
by
Dan Fandrich
Browse files
Options
Downloads
Patches
Plain Diff
Made a few cleanups.
parent
0f0540d0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/FILEFORMAT
+11
-6
11 additions, 6 deletions
tests/FILEFORMAT
with
11 additions
and
6 deletions
tests/FILEFORMAT
+
11
−
6
View file @
7c144d5a
The test suite's file format is very simple and exten
da
ble, closely
The test suite's file format is very simple and exten
si
ble, closely
resembling XML. All data for a single test case resides in a single
ASCII file. Labels mark the beginning and the end of all sections, and each
label must be written in its own line. Comments are either XML-style
(enclosed with <!-- and -->) or C-style (beginning with #) and must appear
on their own lines and not alongside actual test data. Most test data files
are syntactically valid XML, although a few files are not (lack of
support for character entities is the biggest omission).
support for character entities and the preservation of CR/LF characters at
the end of lines are the biggest differences).
The file begins with a 'testcase' tag, which encompasses the remainder of
the file.
...
...
@@ -146,6 +147,7 @@ restart servers.
A command line that if set gets run by the test script before the test. If an
output is displayed by the command line, the test will be skipped and the
(single-line) output will be displayed as reason for not running the test.
Variables are substituted as in the <command> section.
</precheck>
<tool>
...
...
@@ -162,7 +164,8 @@ variable1=contents1
variable2=contents2
Set the given environment variables to the specified value before the actual
command is run, they are cleared again after the command has been run.
command is run. They are cleared again after the command has been run.
Variables are first substituted as in the <command> section.
</setenv>
<command [option="no-output"]>
...
...
@@ -200,8 +203,10 @@ Available substitute variables include:
</command>
<file name="log/filename">
t
his creates the named file with this content before the test case is run
T
his creates the named file with this content before the test case is run
,
which is useful if the test case needs a file to act on.
Variables are substituted on the contents of the file as in the <command>
section.
</file>
<stdin>
...
...
@@ -233,13 +238,13 @@ actually sent by the client
<stdout [mode="text"]>
This verifies that this data was passed to stdout.
Use the
"
mode="text"
"
attribute if the output is in text mode on platforms that
Use the mode="text" attribute if the output is in text mode on platforms that
have a text/binary difference.
</stdout>
<file name="log/filename" [mode="text"]>
The file's contents must be identical to this after the test is complete.
Use the
"
mode="text" attribute if the output is in text mode on platforms that
Use the mode="text" attribute if the output is in text mode on platforms that
have a text/binary difference.
</file>
<stripfile>
...
...
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