I generally accept that if I am smelling a thing, bits of that thing are entering my body through my nose. This is true of everything, from vehicle exhaust to farts.
I would be concerned
enough to take mitigating steps, not only for the air, but the ground as well. Exhaust particulates don't just drop to the soil surface, but they also don't just blow away. If we can have third-hand smoke from cigarettes clinging to our skin and clothing, surely it's obvious that something must stick there, too.
If I were doing such a space, let's say as a tiny, intensive market garden, I would mark out my beds, probably raising them a bit, and dig out the paths between them. I would then replace the soil with
wood chips gotten from an urban arborist (there are even apps that let
local arborists know that you have somewhere for them to dump a truck load). I would make up some
compost, brew compost extract, and apply it regularly on the wood chips. A fungal slurry after the soil microbiota get working in the chips would be a good idea, too.
Surrounding your grow beds with compost extract and fungal slurry inoculated wood chip paths will essentially create barriers of voracious soil life that will absorb, spread out, and break down contamination, including hydrocarbons and heavy metals on an ongoing basis.
If you want to test anything, I would make sure that the fungi you make your slurry with are recognizable and edible (though I wouldn't eat them right away, or perhaps ever, depending on the levels of ongoing contamination), and then harvest and test those babies. Most fungi that I know of uptake excess heavy metals readily, so if you were to test
mushrooms until the levels of heavy metal contamination were negligeable, you'd know then that the rest of your soil was safe for the production of food.
In terms of your outdoor exhaust
experience, you could try some low food hedges on the perimeter. Anything scented that you add to it will improve the smell, and anything green and with a lot of surface area to it will tend to make the exhaust and other pollution adsorb onto its surface.
In any case, good luck, and let us know how you proceed.
-CK
A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.
-Robert A. Heinlein