Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
bf28ff20
Commit
bf28ff20
authored
17 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
modify test to work with select/cons_res
parent
a3c4239b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/expect/test1.92
+7
-7
7 additions, 7 deletions
testsuite/expect/test1.92
with
7 additions
and
7 deletions
testsuite/expect/test1.92
+
7
−
7
View file @
bf28ff20
...
@@ -51,7 +51,7 @@ exit 0
...
@@ -51,7 +51,7 @@ exit 0
#
#
# Create an allocation
# Create an allocation
#
#
set s
run
_pid [spawn $s
run --
alloc
ate
-N2 --verbose -t2]
set s
alloc
_pid [spawn $salloc -N2
-n4
--verbose -t2
$bin_bash
]
expect {
expect {
-re "More ($alpha) requested than permitted" {
-re "More ($alpha) requested than permitted" {
send_user "\nWARNING: can't test srun task distribution\n"
send_user "\nWARNING: can't test srun task distribution\n"
...
@@ -61,8 +61,8 @@ expect {
...
@@ -61,8 +61,8 @@ expect {
send "$srun -l -c1 $file_bash | sort -n\n"
send "$srun -l -c1 $file_bash | sort -n\n"
}
}
timeout {
timeout {
send_user "\nFAILURE: s
run
not responding\n"
send_user "\nFAILURE: s
alloc
not responding\n"
slow_kill $s
run
_pid
slow_kill $s
alloc
_pid
exit 1
exit 1
}
}
}
}
...
@@ -92,9 +92,9 @@ expect {
...
@@ -92,9 +92,9 @@ expect {
exp_continue
exp_continue
}
}
timeout {
timeout {
send_user "\nFAILURE: s
run (from --
alloc
ate)
not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
slow_kill $s
run
_pid
slow_kill $s
alloc
_pid
exit 1
exit 1
}
}
-re $prompt
-re $prompt
...
@@ -269,9 +269,9 @@ expect {
...
@@ -269,9 +269,9 @@ expect {
set exit_code 1
set exit_code 1
}
}
timeout {
timeout {
send_user "\nFAILURE: s
run (from --
alloc
ate)
not responding "
send_user "\nFAILURE: salloc not responding "
send_user "or failure to recognize prompt\n"
send_user "or failure to recognize prompt\n"
slow_kill $s
run
_pid
slow_kill $s
alloc
_pid
set exit_code 1
set exit_code 1
}
}
eof {
eof {
...
...
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