There are some products available, such as the CarMD Vehicle Health monitor, that will help you find out if your car will pass the smog test and in some cases actually tell you what you need to correct the problem. Other than that, another trip to the station is the only way to find out.