[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Sensible tests for "svn --help" and "svn help" commands

From: Bhuvaneswaran Arumugam <bhuvan_at_collab.net>
Date: 2006-06-30 06:13:14 CEST



Sensible tests for "svn --help" and "svn help" commands.

[in subversion/tests/cmdline]
  * getopt_tests_data/svn_help_stdout
  * getopt_tests_data/svn_help_stderr
  * getopt_tests_data/svn--help_stdout
  * getopt_tests_data/svn--help_stderr
    Remove these files. It contains "expected stdout/stderr"

  * getopt_tests.py
    (global): Define list of lines to match (regex)
    (run__help_test): New function. Match the defined lines and raise
    svntest.Failure if all the lines dont match
    (run_help_test): New function. Call run__help_test since both of
    them does exactly the same
    (getopt__help): Call run__help_test and we no more use run_one_test
    (getopt_help): Call run_help_test and we no more use run_one_test

NOTE: I removed getopt_tests_data/svn_help_stderr and
getopt_tests_data/svn--help_stderr. They dont appear in the patch, since
the size is 0 byte.


Received on Fri Jun 30 06:14:08 2006

This is an archived mail posted to the Subversion Dev mailing list.