Skip to content

run bash's own testsuite #147

@qianxichen233

Description

@qianxichen233

bash's testsuite is located under tests

There are a couple of starting script that can be used as the entry of the tests, examples are run-all and run-minimal. These are bash script, so can be ran directly without too much additional setup.

An example of running the testsuite is lind-wasm --env PATH=/bash_tests:/bin --env THIS_SH=/bin/bash bin/bash run-minimal
The testsuite depends on coreutils, and additionally, diff which should be compiled from diffutils, and recho which should be compiled from support/recho.c

With diff and recho properly installed, currently run-minimal can run a part of testsuite, and then crash at func4.sub, which is a 4th test script for run-func sub-tests. Detailed at: Lind-Project/lind-wasm#965

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions