* Testing dash on a new OS? [not found] <DM6PR11MB34686DFD31F7C9C07D3F8B1D998B9@DM6PR11MB3468.namprd11.prod.outlook.com> @ 2021-11-02 0:45 ` Kuhl, Brian 2021-11-02 12:47 ` Andrej Shadura 0 siblings, 1 reply; 3+ messages in thread From: Kuhl, Brian @ 2021-11-02 0:45 UTC (permalink / raw) To: dash Myself and an intern are working on porting dash to VxWorks. https://www.windriver.com/products/vxworks I've found harness for testing scripts, I haven't found anything for verifying dash itself? How does Debian, or any other distro, (or for that matter a BSD), regression test dash? Thanks Brian Wind River ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Testing dash on a new OS? 2021-11-02 0:45 ` Testing dash on a new OS? Kuhl, Brian @ 2021-11-02 12:47 ` Andrej Shadura 2022-02-03 15:15 ` Michael Greenberg 0 siblings, 1 reply; 3+ messages in thread From: Andrej Shadura @ 2021-11-02 12:47 UTC (permalink / raw) To: dash Hi, On 02/11/2021 01:45, Kuhl, Brian wrote: > Myself and an intern are working on porting dash to VxWorks. > https://www.windriver.com/products/vxworks > > I've found harness for testing scripts, I haven't found anything for verifying dash itself? > How does Debian, or any other distro, (or for that matter a BSD), regression test dash? Answering for Debian: we don’t really. There is only a smoke test verifying dash exists and symlinks to it are all in place, but nothing more than that at the moment. -- Cheers, Andrej ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Testing dash on a new OS? 2021-11-02 12:47 ` Andrej Shadura @ 2022-02-03 15:15 ` Michael Greenberg 0 siblings, 0 replies; 3+ messages in thread From: Michael Greenberg @ 2022-02-03 15:15 UTC (permalink / raw) To: Brian Kuhl, Andrej Shadura, dash Bumping this old thread. There are a few attempts at carefully testing POSIX shells: - POSIX <http://www.opengroup.org/testing/downloads.html> - Smoosh <https://github.com/mgree/smoosh/tree/master/tests> [disclaimer: I'm the author] - Oil <https://www.oilshell.org/release/latest/test/spec.wwz/survey/osh.html> - Yash <https://github.com/posix-shell-tests/posix-shell-tests> - Bash <https://git.savannah.gnu.org/cgit/bash.git/tree/tests> None of these are a perfect fit for testing any of dash's particular behaviors (e.g., dash treats non-lexical control differently from bash). I would be _very_ interested in helping to build a test suite for POSIX shells in general; I would be happy to also build a test suite for dash in particular. Not only would such a test suite help identify regressions in dash, it would also serve to document dash-specific choices for unspecified and undefined behavior. Cheers, Michael On 2021-11-02 at 01:47:53 PM, Andrej Shadura wrote: > Hi, > > On 02/11/2021 01:45, Kuhl, Brian wrote: >> Myself and an intern are working on porting dash to VxWorks. >> https://www.windriver.com/products/vxworks >> >> I've found harness for testing scripts, I haven't found anything for verifying dash itself? >> How does Debian, or any other distro, (or for that matter a BSD), regression test dash? > > Answering for Debian: we don’t really. There is only a smoke test > verifying dash exists and symlinks to it are all in place, but nothing > more than that at the moment. > > -- > Cheers, > Andrej ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-03 15:15 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <DM6PR11MB34686DFD31F7C9C07D3F8B1D998B9@DM6PR11MB3468.namprd11.prod.outlook.com> 2021-11-02 0:45 ` Testing dash on a new OS? Kuhl, Brian 2021-11-02 12:47 ` Andrej Shadura 2022-02-03 15:15 ` Michael Greenberg
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).