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

badtouch test #56

Open
kpcyrd opened this issue Jul 3, 2018 · 1 comment
Open

badtouch test #56

kpcyrd opened this issue Jul 3, 2018 · 1 comment

Comments

@kpcyrd
Copy link
Owner

kpcyrd commented Jul 3, 2018

It might make sense to have a test subcommand that can be used to make sure the script works. This would call eg test_positive and test_negative that both wrap around the verify function, once with correct credentials and once with incorrect credentials.

Including passwords in the script seems counter intuitive, but those should be dummy accounts and the scripts that have those tests wouldn't be meant to be shared publicly. There might be a better way to do this though.

@kpcyrd
Copy link
Owner Author

kpcyrd commented Aug 1, 2018

badtouch oneshot could be used in a bash script to ensure the lua script works correctly.

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

No branches or pull requests

1 participant