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
d00fbb3e
Commit
d00fbb3e
authored
16 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
fixes for return error on bad uid
parent
aa27e25b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/expect/test3.11
+1
-1
1 addition, 1 deletion
testsuite/expect/test3.11
testsuite/expect/test3.5
+1
-1
1 addition, 1 deletion
testsuite/expect/test3.5
with
2 additions
and
2 deletions
testsuite/expect/test3.11
+
1
−
1
View file @
d00fbb3e
...
@@ -67,7 +67,7 @@ proc create_res { res_params failure_expected } {
...
@@ -67,7 +67,7 @@ proc create_res { res_params failure_expected } {
-re "Reservation created: ($alpha_numeric_under)" {
-re "Reservation created: ($alpha_numeric_under)" {
set res_name $expect_out(1,string)
set res_name $expect_out(1,string)
}
}
-re "
slurm_update error
: Invalid user" {
-re "
Error creating the reservation
: Invalid user" {
send_user "\nWARNING: user not authorized "
send_user "\nWARNING: user not authorized "
send_user "to create reservation\n"
send_user "to create reservation\n"
set ret_code 1
set ret_code 1
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test3.5
+
1
−
1
View file @
d00fbb3e
...
@@ -110,7 +110,7 @@ if {[string compare $def_node ""] == 0} {
...
@@ -110,7 +110,7 @@ if {[string compare $def_node ""] == 0} {
#
#
spawn $scontrol create PartitionName=$part_name Nodes=$def_node
spawn $scontrol create PartitionName=$part_name Nodes=$def_node
expect {
expect {
-re "
slurm_update error
: Invalid user" {
-re "
Error creating the partition
: Invalid user" {
send_user "\nWARNING: user not authorized to create partition\n"
send_user "\nWARNING: user not authorized to create partition\n"
exit $exit_code
exit $exit_code
exp_continue
exp_continue
...
...
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