Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
893cd646
Commit
893cd646
authored
Aug 8, 2003
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
(client_good_bad_expect): New proc.
(client_extracting_expect): New proc.
parent
dd137e3f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/server/testsuite/config/unix.exp
+25
-0
25 additions, 0 deletions
src/server/testsuite/config/unix.exp
with
25 additions
and
0 deletions
src/server/testsuite/config/unix.exp
+
25
−
0
View file @
893cd646
...
@@ -342,6 +342,18 @@ proc client_expect {nr regex} {
...
@@ -342,6 +342,18 @@ proc client_expect {nr regex} {
talk_to $oldwhat $oldnr
talk_to $oldwhat $oldnr
}
}
proc client_good_bad_expect {nr good_regex bad_regex {xreason ""}} {
global current_talk_what
global current_talk_nr
set oldwhat $current_talk_what
set oldnr $current_talk_nr
talk_to client $nr
good_bad_expect "$good_regex" "$bad_regex" "$xreason"
talk_to $oldwhat $oldnr
}
proc good_bad_expect {good_regex bad_regex {xreason ""}} {
proc good_bad_expect {good_regex bad_regex {xreason ""}} {
global test
global test
global any
global any
...
@@ -390,6 +402,19 @@ proc good_bad_expect {good_regex bad_regex {xreason ""}} {
...
@@ -390,6 +402,19 @@ proc good_bad_expect {good_regex bad_regex {xreason ""}} {
unset test
unset test
}
}
proc client_extracting_expect {nr regex var grp} {
global current_talk_what
global current_talk_nr
set oldwhat $current_talk_what
set oldnr $current_talk_nr
talk_to client $nr
extracting_expect "$regex" $var $grp
talk_to $oldwhat $oldnr
}
proc extracting_expect {regex var grp} {
proc extracting_expect {regex var grp} {
global test
global test
global any
global any
...
...
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