sh: Add a test for 'cd -'.
authorjilles <jilles@FreeBSD.org>
Thu, 7 Jan 2016 21:46:07 +0000 (21:46 +0000)
committerjilles <jilles@FreeBSD.org>
Thu, 7 Jan 2016 21:46:07 +0000 (21:46 +0000)
commit2d4b37e81d3bbeb199e670441c7587ba87d76042
tree05b8b0fa9c7e44f23bab5a7cd7b94a19a882fff5
parenta32f535abcc78898d1fabfee3ab20ee1cc868a4a
sh: Add a test for 'cd -'.

Redirect 'cd -' output to /dev/null since POSIX requires it to write the new
directory name even if not interactive, but we currently only write it if
interactive.
bin/sh/tests/builtins/Makefile
bin/sh/tests/builtins/cd9.0 [new file with mode: 0644]
bin/sh/tests/builtins/cd9.0.stdout [new file with mode: 0644]