Took 01 tribute through state inspection yesterday, Monday. In the morning, I did an oil/filter change and a drain and replace tranny fluid change. Then,[shouldn't have] disconnected the negative battery cable and cleaned up the mass air sensor, then put the cable back on, 1/2 hour later. Car was find before all this, I just decided to do this before inspection. Well it passed all the safety issues, brakes, lights, horn wipers, etc. Inspection lane hooked up to the computer, , it failed the readiness status? She asked me if I did some work recently? I told her. She asked if the negative cable was removed, yes I replied. I drove a total of 6 miles to get to the inspection lanes. She told me to drive the vehicle for a few days and come back, it has to relearn. Checked the manual for the car, nothing stated about this, unless I missed it. Anyway, how many miles, about, does it take? It's just a work car, about 22 miles a day total. Someone said it needs to relearn the drivings habit's?? Anyway I'll won't be removing a negative cable again,,,before inspection. Come to think, while driving to the inspection lanes, the tranny felt different, nothing bad, I don't know. Plan is to put around 50 miles and take it back this Thursday.