Fix some failures

uname -a can display information that uname(2) does not return, so
change the command to say explicitly what fields we want.

SHLVL is not POSIX, so skip testing it.