use test_config to check if errorlog can be opened