Add a test for fchdir().
This is part of SF feature #536796.
3 files changed