1. Remove the sunroof switch.
2. Inspect for continuity between the sunroof switch terminals using an ohmmeter.


Sunroof switch removal/installationMazda 6 Service Manual: Trunk Lid
WARNING
Never allow a person to ride in the trunk: Allowing a person to ride
in the trunk is dangerous. The person in the trunk could be seriously injured or
killed during sudden braking or a collision.
Do not drive with the trunk lid open: Exhaust gas in the cabin of a vehicle
is dangerous. ...
Mazda 6 Service Manual: Discharge headlight control unit removal/installation
Caution
Incorrect servicing of the discharge headlight control unit could
result in electrical shock. Before servicing the discharge headlight control
unit, always refer to the Discharge headlight service warnings. (See
DISCHARGE HEADLIGHT SERVICE WARNINGS)
When replacing the discharg ...