Minor oil leaks which are not immediately detectable, such as a small oil leak spot when the vehicle is parked should not effect the smog check. If the oil leak is great enough that the smog technician considers it to effect emissions, then yes, the smog test could be effected due to a visible oil leak, high exhaust emissions, visible smoke; part of the smog check inspects for smoke being emitted from the exhaust and/or under the hood.
If your car has an external oil leak, such as from the engine oil pan or valve cover gasket (perhaps even the transmission) and it is severe enough the smog technician may refuse to inspect your vehicle or, if during the test the oil leaks become apparent and effect the testing procedures, the technician can decide to abort (or fail) the test, in which case you may be responsible for the inspection fee without obtaining a completed smog inspection.
posted by SmogTips Support