Here's my experience. FWIW, my truck is stock except for a big cone shaped aftermarket air filter.
After I found someone who would actually SMOG check a diesel, which wasn't that easy, I took it to them a left it there for the afternoon.
I came back around 5, paid and drove away in my truck...