Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/subshell.sh: fix a test for systems without /dev/fd/*
ksh's built-in test, [ and [[ commands treat /dev/fd/* specially: e.g. 'test /dev/fd/0' returns true even if it doesn't physically exist, as on e.g. HP-UX. However, external commands need it to exist physically. src/cmd/ksh93/tests/subshell.sh: - To decide whether to run a test with 'tee', use external 'test' command to check if /dev/stdout and /dev/fd/1 actually exist.
- Loading branch information