Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite or remove testcases/kernel/fs/doio/rwtest #1110

Open
pevik opened this issue Nov 30, 2023 · 0 comments
Open

Rewrite or remove testcases/kernel/fs/doio/rwtest #1110

pevik opened this issue Nov 30, 2023 · 0 comments
Labels
rewrite / cleanup Very old tests which we should either delete or rewrite into new API

Comments

@pevik
Copy link
Member

pevik commented Nov 30, 2023

testcases/kernel/fs/doio/rwtest is very old script written in bash. Decide if it's still useful, if yes, then rewrite it to new C or shell API otherwise delete.

Also its usage in the runtest/fs is very ugly.

rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s  -f sync 10%25000:$TMPDIR/rw-sync-$$
rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s  -f buffered 10%25000:$TMPDIR/rw-buffered-$$
rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2  -f buffered -s mmread,mmwrite -m random -Dv 10%25000:$TMPDIR/mm-buff-$$
rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2  -f sync -s mmread,mmwrite -m random -Dv 10%25000:$TMPDIR/mm-sync-$$
rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:$TMPDIR/rwtest01%f
@pevik pevik added the rewrite / cleanup Very old tests which we should either delete or rewrite into new API label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rewrite / cleanup Very old tests which we should either delete or rewrite into new API
Projects
None yet
Development

No branches or pull requests

1 participant