~guillaume-simon/mysql-utilities/mysql-utilities

« back to all changes in this revision

Viewing changes to mysql-test/suite/replication/t/failover_parameters.py

  • Committer: Israel Gomez
  • Date: 2013-11-22 21:49:01 UTC
  • Revision ID: israel.gomez@oracle.com-20131122214901-qx60zwoxqky3545y
BUG#17634676 : Add missing option to show license type on Utilities 

This patch adds a new option to each MySQL Utility to show the license 
type. The parameter '--license' can now be used to display the release 
version, license type and full copyright message. In addition, the
'--version' option has been modified to display the release version 
and the license type, without the copyright. The '--help' option will 
also display the license type.

Tests were updated.

v2

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
            raise MUTLibError("{0}: failed".format(comment))
45
45
 
46
46
        # Remove version information
47
 
        self.remove_result_and_lines_after("MySQL Utilities mysqlfailover.py "
 
47
        self.remove_result_and_lines_after("MySQL Utilities mysqlfailover "
48
48
                                           "version", 6)
49
49
 
50
50
        return True