[MXS-654] Add test that verifies that maxpasswd does not output garbage. Created: 2016-03-31 Updated: 2016-03-31 Resolved: 2016-03-31 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | test |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | Johan Wikman |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
At least on 1.4.1, masspasswd outputs additinal information in addition to the key:
And everything goes to stdout. That makes it difficult to use maxpasswd in scripts. Add test-case that verifies that maxpasswd outputs the key and the key alone. |
| Comments |
| Comment by Johan Wikman [ 2016-03-31 ] |
|
Commit 30d981c87cc2208b820265f9ea06a87c0b7540e3 adds a test to the core test-suite that tests that maxpasswd only outputs as many characters as the key contains. Thus, random logging to stdout should be caught. |