diff --git a/testsuite/expect/test1.101 b/testsuite/expect/test1.101 index 6fa90a45e791c5737625f755db5bb8e1ff79306a..65fcecf2b139ac652807b31e6cc02c2123c303e7 100755 --- a/testsuite/expect/test1.101 +++ b/testsuite/expect/test1.101 @@ -1,7 +1,7 @@ #!/usr/bin/env expect ############################################################################ # Purpose: Test of SLURM functionality -# est of --bcast option. +# Test of --bcast option. # # Output: "TEST: #.#" followed by "SUCCESS" if test was successful, OR # "WARNING: ..." with an explanation of why the test can't be made, OR @@ -53,6 +53,11 @@ if {[test_alps]} { exit 0 } +if {[slurmd_user_root] == 0} { + send_user "\nWARNING: This test is incompatible with SlurmdUser != root\n" + exit 0 +} + make_bash_script $file_in "echo \$0" set salloc_pid [spawn $salloc -N1-5 -t1 bash] expect {