Re: Testing dash on a new OS?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux