forked from github/multus-cni
Because the tests fake out the OS exec functionality, the environment that would usually be passed to a plugin instead gets passed as a string array to the ExecPlugin() function in the tests. But when verifying the expected environment this function was looking at the actual OS environment rather than the passed string array. Fix that. Use that to test various cases of the pod UID being passed to plugins. Signed-off-by: Dan Williams <dcbw@redhat.com>