joerg added a comment. As I said: because it makes it harder to rerun parts of the test interactively. Which is a good enough reason to forbid `cd -` as well as any directory stack operations, IMO. Repository: rL LLVM https://reviews.llvm.org/D54328