It might be good if this test first checks whether `printenv` is a valid command and just passes if it's not... since some distros or operating systems won't have it.