Skip to content
Snippets Groups Projects
Commit 9b7a3527 authored by Veronique Legrand's avatar Veronique Legrand Committed by Morris Jette
Browse files

check that test run by root or user user

bug 1649
parent 21348116
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,12 @@ set file_in "test$test_id\_sc" ...@@ -39,6 +39,12 @@ set file_in "test$test_id\_sc"
print_header $test_id print_header $test_id
if { [test_super_user] == 0 } {
send_user "WARNING: Test can only be run as SlurmUser\n"
exit $exit_code
}
proc mod_state { state } { proc mod_state { state } {
global scontrol node exit_code global scontrol node 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