reubeno / brush

bash/POSIX-compatible shell implemented in Rust
MIT License
26 stars 4 forks source link

test: consider using existing shell test suites #264

Open 39555 opened 2 weeks ago

39555 commented 2 weeks ago

I read about oils and its extensive https://github.com/oils-for-unix/oils/wiki/Spec-Tests. It is similar to brush yaml files and contains a lot of scripts from real-world codebases. Maybe we could use it directly or auto-format it into YAML files.

The stats for different shells can be found here https://www.oilshell.org/release/0.7.pre11/test/spec.wwz/for-expr.html