Skip to content
Snippets Groups Projects
Commit 56a762de authored by Doug Jacobsen's avatar Doug Jacobsen Committed by Morris Jette
Browse files

Block test if not super user

bug 4443
parent 36668308
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,10 @@ array set ports {}
print_header $test_id
if { ![test_super_user] } {
send_user "\nWARNING: This test can't be run without being a super user of the cluster.\n"
exit 0
}
if {$chk_ports == 0} {
send_user "\nWARNING: this test requires SrunPortRange to be configured\n"
exit 0
......
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