Nowadays, the test script is run as a service, and no argument about
sanitizers are passed. Let's read them from the environment variables.
(cherry picked from commit
da665b708a5fb734c3114089f2f58783644b7f6f)
enable_debug = True
env = {}
wait_online_env = {}
-asan_options = None
-lsan_options = None
-ubsan_options = None
-with_coverage = False
+asan_options = os.getenv('ASAN_OPTIONS')
+lsan_options = os.getenv('LSAN_OPTIONS')
+ubsan_options = os.getenv('UBSAN_OPTIONS')
+with_coverage = os.getenv('COVERAGE_BUILD_DIR') != None
show_journal = True # When true, show journal on stopping networkd.
active_units = []