Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shtests: make aliases work again for shcomp tests (re: aed5c6d)
Moving the 'err_exit' and 'warning' alias definitions in the regression tests to one _common file introduced a bug: they are no longer expanded at compile time when the tests are run with shcomp, resulting in a 'command not found' (at best) on trying to execute one. shcomp requires that the alias definitions need to be present in the file itself. But that means maintaining 50-odd copies again. I'd rather add a hack to shtests to avoid this. src/cmd/ksh93/tests/shtests: - Before running a test with shcomp, physically concatenate _common and the test script together into a temporary file, minus the '.' command that includes _common, and compile that with shcomp.
- Loading branch information