tests: add rms check for slurm to confirm x11 support included
@@ -17,3 +17,8 @@ fi
run ls /usr/lib64/slurm/job_submit_lua.so
assert_success
}
+
+@test "[slurm] check for --x11 option" {
+ run srun --x11 --pty /bin/bash
+ assert_output "srun: error: No DISPLAY variable set, cannot setup x11 forwarding."
+}
