Skip to content
Snippets Groups Projects
Commit 9b048ab7 authored by Albert Gil's avatar Albert Gil
Browse files

Testsuite - Fix tes7.9 precondition to cray_aries

Bug 7621
parent 42449458
No related branches found
No related tags found
No related merge requests found
...@@ -54,25 +54,8 @@ if {![test_accting_steps]} { ...@@ -54,25 +54,8 @@ if {![test_accting_steps]} {
# Each leave open files, although we could clear the proctrack related files # Each leave open files, although we could clear the proctrack related files
# by just closing all files after fd=3. # by just closing all files after fd=3.
# #
set invalid 0 if {[string compare [test_proctrack] "cray_aries"] == 0} {
log_user 0 log_warn "Test incompatible with proctrack/cray_aries"
spawn $scontrol show config
expect {
-re "proctrack/cray" {
send_user "\nWARNING: test incompatible with proctrack/cray\n"
set invalid 1
exp_continue
}
timeout {
send_user "\nFAILURE: scontrol not responding\n"
set exit_code 1
}
eof {
wait
}
}
log_user 1
if {$invalid == 1} {
exit $exit_code exit $exit_code
} }
......
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