nix-shell
The test fakes the interpreter only to verify the arguments it would be given.
The nix-shell fix in 668fef2e4f revealed that we had some --pure tests that incorrectly depended on PATH from config.nix's mkDerivation being overwritten by the caller's PATH. http://hydra.nixos.org/build/49242478
668fef2e4f
nix-shell -A, -p and -i are lightly tested.