Ensure that writes to /dev/tty succeed to determine if it is writeable.
[mmh] / test / refile /
drwxr-xr-x   ..
-rwxr-xr-x 6046 test-refile