freebsd-skq/tools/regression/bin/sh
Jilles Tjoelker 8eac1f9477 sh: On startup of the shell, use PWD from the environment if it is valid.
Unset PWD if it is incorrect and no value for it can be determined.
This preserves the logical current directory across shell invocations.

Example (assuming /home is a symlink):
$ cd
$ pwd
/home/foo
$ sh
$ pwd
/home/foo

Formerly the second pwd would show the physical path (symlinks resolved).
2010-04-17 14:35:46 +00:00
..
builtins sh: Do not abort on a redirection error on a compound command. 2010-03-14 14:24:35 +00:00
errors sh: Do not abort on a redirection error on a compound command. 2010-03-14 14:24:35 +00:00
execution Fix some cases where file descriptors from redirections leak to programs. 2009-11-29 22:33:59 +00:00
expansion sh: Add test for nested arithmetic substitution. 2010-04-04 16:48:33 +00:00
parameters sh: On startup of the shell, use PWD from the environment if it is valid. 2010-04-17 14:35:46 +00:00
parser sh: Fix various things about expansions: 2010-04-03 20:55:56 +00:00
set-e Add tests for r193169. 2009-05-31 17:23:27 +00:00
Makefile
regress.sh Add test cases for the command built-in, including its -v and -V options which 2005-10-28 14:02:42 +00:00
regress.t