-
Notifications
You must be signed in to change notification settings - Fork 2
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
Testing suggestion #17
Comments
I agree. Lets compile a list of things to test here, and we can the move it to a markdown documentation in the repo, as a manual testing guide: Drive mount points
Drive types
Edge cases
|
@jviotti Do you remember what the issue you had was, where you were getting different behaviour when the SD-reader was plugged in via a USB3 hub, than when it was plugged in directly? Any manual testing guide should also include the things you've already been testing this module against, e.g. unmounting non-existent drives / devices, unmounting already-unmounted devices, unmounting drives with multiple-mounted partitions, etc. etc. I wonder if we could do any (basic) automated Linux testing by maybe scripting Qemu? |
I'm afraid I don't :( Do you remember if this was mentioned in a GH issue, or in the Gitter channel?
I agree, let me update the list above with what I've been testing so far.
Sounds interesting. What would we automatically mount in the VM though? Can we somehow fake a drive? |
Don't remember. I tried searching both of those and can't find anything relevant :(
Yup, in theory Qemu should allow you to fake anything ;-) A quick search finds https://wiki.ubuntu.com/QemuDiskHotplug |
Should we also test unmounting drives which have open file-handles? I guess it should report "drive is busy" or something on all OSes? |
Sounds exciting. I'm happy to experiment with it.
Good catch. In fact, all OSes will try to close the open handles before unmounting, and only fail if they can't do so. |
I guess an easy way to test the un-closable handles behaviour would be to try running |
How evil! :) I'll add that to the list as well. |
Maybe some of the issues we've run into with drivelist, are also things that should be actively tested with
mountutils
?The text was updated successfully, but these errors were encountered: