mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-10 07:34:23 +01:00
Error watchdog tests on runtimes
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
/world/New()
|
||||
text2file("SUCCESS", "test_success.txt")
|
||||
log << "About to call TgsNew()"
|
||||
sleep_offline = FALSE
|
||||
TgsNew(minimum_required_security_level = TGS_SECURITY_SAFE)
|
||||
log << "About to call StartAsync()"
|
||||
StartAsync()
|
||||
|
||||
/world/Error(exception)
|
||||
fdel("test_success.txt")
|
||||
text2file("Runtime Error: [exception]", "test_fail_reason.txt")
|
||||
|
||||
/proc/StartAsync()
|
||||
set waitfor = FALSE
|
||||
Run()
|
||||
|
||||
Reference in New Issue
Block a user