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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
786861fd
Commit
786861fd
authored
Jul 24, 2014
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
tweak tests for job array mods
parent
3fef4915
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/expect/test3.8
+6
-1
6 additions, 1 deletion
testsuite/expect/test3.8
testsuite/expect/test6.5
+2
-0
2 additions, 0 deletions
testsuite/expect/test6.5
with
8 additions
and
1 deletion
testsuite/expect/test3.8
+
6
−
1
View file @
786861fd
...
...
@@ -216,11 +216,16 @@ set disabled 0
exec $bin_sleep 15
spawn $scontrol requeue $job_id
expect {
-re "
error.*
disabled" {
-re "
Requested operation is presently
disabled" {
set disabled 1
send_user "This error was expected, no worries\n"
exp_continue
}
-re "error" {
send_user "\nFAILURE: some scontrol error happened\n"
set exit_code 1
exp_continue
}
timeout {
send_user "\nFAILURE: scontrol not responding\n"
set exit_code 1
...
...
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test6.5
+
2
−
0
View file @
786861fd
...
...
@@ -107,6 +107,7 @@ expect {
set exit_code 1
}
eof {
wait
}
}
if {$matches != 1} {
...
...
@@ -126,6 +127,7 @@ expect {
set exit_code 1
}
eof {
wait
}
}
if {$matches != 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
sign in
to comment