Commands whose only product is an exit status, and the terminal recorder: true, false and the colon builtin, echo $? on all three, && and aimed at an answer known in advance, then script recording a session to a typescript file with -c, -a, -q and -e, and reading the recording back.