Skip to content
Snippets Groups Projects
Commit cc116903 authored by Morris Jette's avatar Morris Jette
Browse files

Modify qalter test to work with job_submit/pbs

The job_submit/pbs plugin sets the original job "comment" to the
origial stdout path, which is appended to.
parent 1c5d0d8f
No related branches found
No related tags found
No related merge requests found
......@@ -56,10 +56,13 @@ make_bash_script $file_in "sleep 200"
proc check_output { path job_id } {
global scontrol exit_code
# Support leading options (i.e. original "stdout=...")
set alpha_numeric_comma_slash "\[a-zA-Z0-9=_,\-\/\]*"
set check_out 0
spawn $scontrol show job $job_id
expect {
-re "Comment=stdout=$path" {
-re "Comment=($alpha_numeric_comma_slash)stdout=($path)" {
set check_out 1
exp_continue
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment