-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix possible false negatives in whence -a/-v regress tests
src/cmd/ksh93/tests/builtins.sh: - Remove redundant extra bincat=$(whence -p cat). - Move whence -v/-a tests to path.sh. - Fix 'whence -q' test so errors are counted outside of a subshell. src/cmd/ksh93/tests/path.sh: - Add all_paths function that is basically a reimplementation of 'whence -a -p' in shell. Useful for testing 'whence'. - Move whence -v/-a tests to here, changing them to use all_paths where needed. Also fix the 'whence -a' function autoloading regression test to do the same. This fixes the tests for systems (such as Slackware) where commands such as 'ls' or 'chmod' have more than one path in even the default $PATH.
- Loading branch information
Showing
2 changed files
with
114 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters