Error watchdog tests on runtimes

This commit is contained in:
Dominion
2023-04-03 00:03:16 -04:00
parent 9c388e4700
commit 24627e3efd
4 changed files with 54 additions and 25 deletions
+5
View File
@@ -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()