Skip to content

Added tests to check bash functionality#141

Open
vidyalakshmir wants to merge 4 commits intomainfrom
add-bash-tests
Open

Added tests to check bash functionality#141
vidyalakshmir wants to merge 4 commits intomainfrom
add-bash-tests

Conversation

@vidyalakshmir
Copy link
Copy Markdown
Contributor

@vidyalakshmir vidyalakshmir commented Mar 16, 2026

Added 162 tests to check bash functionality.

How testing works

  • This script expects that bash be compiled as a wasm binary and copied to lindfs as lindfs/bin/bash.

  • Creates folder `lindfs/tests/bash' and the test scripts are placed within this folder.

  • Each test script $testscript is run within lind using lind_run bin/bash $testscript

Results:

Total tests: 162
Successful: 156
Failed : 6

**Above tests are tested with bash.cwasm (with --fpcast-emu flag enabled with wasm-opt) and also tested with bash.wasm)

Failure reasons

  • 2 tests fail due to environmental variable PWD and HOME not set in lind-wasm (This is expected as of now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants