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
455283c2
Commit
455283c2
authored
13 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Minor test mods for old RedHat distro
parent
47aebf2c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testsuite/expect/test14.7
+4
-16
4 additions, 16 deletions
testsuite/expect/test14.7
testsuite/expect/test23.2
+1
-1
1 addition, 1 deletion
testsuite/expect/test23.2
with
5 additions
and
17 deletions
testsuite/expect/test14.7
+
4
−
16
View file @
455283c2
...
@@ -111,34 +111,22 @@ set matches 0
...
@@ -111,34 +111,22 @@ set matches 0
if {[wait_for_file $file_err] == 0} {
if {[wait_for_file $file_err] == 0} {
spawn $bin_cat $file_err
spawn $bin_cat $file_err
expect {
expect {
-re "REQUEST_FILE_BCAST
.* Permission denied
" {
-re "
error:
REQUEST_FILE_BCAST" {
send_user "These errors are expected, no worries\n"
send_user "These errors are expected, no worries\n"
incr matches
incr matches
exp_continue
exp_continue
}
}
-re "REQUEST_FILE_BCAST.* Operation not permitted" {
-re "ls.* No such file" {
# variation on Permission denied if initgroups() fails
# due to not running slurmd as root
send_user "These errors are expected, no worries\n"
send_user "These errors are expected, no worries\n"
incr matches
incr matches
exp_continue
exp_continue
}
}
-re "REQUEST_FILE_BCAST.* File exists" {
-re "ls.* does not exist" {
send_user "Vestigial file should be removed\n"
incr matches
exp_continue
}
-re "No such file" {
send_user "These errors are expected, no worries\n"
incr matches
exp_continue
}
-re "does not exist" {
send_user "These errors are expected, no worries\n"
send_user "These errors are expected, no worries\n"
incr matches
incr matches
exp_continue
exp_continue
}
}
-re "not found" {
-re "
ls.*
not found" {
send_user "These errors are expected, no worries\n"
send_user "These errors are expected, no worries\n"
incr matches
incr matches
exp_continue
exp_continue
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test23.2
+
1
−
1
View file @
455283c2
...
@@ -189,7 +189,7 @@ $srun sleep 10
...
@@ -189,7 +189,7 @@ $srun sleep 10
# Spawn a job via srun using this account
# Spawn a job via srun using this account
#
#
set job_id3 0
set job_id3 0
spawn $sbatch -N1 -v --account=$test_acct $file_in1
spawn $sbatch -N1
-t1
-v --account=$test_acct $file_in1
expect {
expect {
-re "Submitted batch job ($number)" {
-re "Submitted batch job ($number)" {
set job_id3 $expect_out(1,string)
set job_id3 $expect_out(1,string)
...
...
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