1. Remove the interlock cable.
2. With the slider pin as shown in the figure, verify that the interlock cable moves freely.

Key interlock inspection
Selector lever inspectionMazda 6 Service Manual: Rocking the Vehicle
WARNING
Do not spin the wheels at more than 56 km/h (35 mph), and do not allow
anyone to stand behind a wheel when pushing the vehicle: When the vehicle
is stuck, spinning the wheels at high speed is dangerous. The spinning tire could
overheat and explode. This could cause serious injuries.
...
Mazda 6 Service Manual: Instrument cluster input/output check mode
Note
In this mode, it is possible to check the items in the following
chart.
Diagnostic Trouble Code Chart
Note
Diagnostic trouble codes which are not listed may be indicated,
but they cannot be inspected.
The diagnostic trouble codes are displayed in numerical order.
(While ...