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

Disable a couple of test if not SlurmUser

parent c8ae748a
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,10 @@ if {[test_launch_poe]} { ...@@ -49,6 +49,10 @@ if {[test_launch_poe]} {
send_user "\nWARNING: This test is incompatible with launch/poe systems\n" send_user "\nWARNING: This test is incompatible with launch/poe systems\n"
exit 0 exit 0
} }
if {[is_super_user] == 0} {
send_user "\nWARNING: This test can't be run except as SlurmUser\n"
exit 0
}
# #
# Slurm time limit enforcement is performed within one minute of the actucal # Slurm time limit enforcement is performed within one minute of the actucal
......
...@@ -52,6 +52,10 @@ if {[test_select_type] != "cons_res"} { ...@@ -52,6 +52,10 @@ if {[test_select_type] != "cons_res"} {
send_user "\nWARNING: test is only compatible with a config of SelectType=select/cons_res\n" send_user "\nWARNING: test is only compatible with a config of SelectType=select/cons_res\n"
exit $exit_code exit $exit_code
} }
if {[is_super_user] == 0} {
send_user "\nWARNING: This test can't be run except as SlurmUser\n"
exit 0
}
proc cr_core_cpu { node } { proc cr_core_cpu { node } {
......
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