Patch for Performance test framework (0.2)
David Relson
relson at osagesoftware.com
Sat Sep 21 16:27:38 CEST 2002
<x-flowed>
Mark,
This morning, I ran bogotest-classify.pl and used "-d" for directory (as
per bogotest-perf.pl usage). bogotest-classify.pl printed out its help
message. The help contained an incorrect program and showed me that the
two programs use different options for directory name. Below is a patch to
correct both these problems.
David
[relson at osage bogotest]$ diff -u bogotest-classify.pl.orig bogotest-classify.pl
--- bogotest-classify.pl.orig Sat Sep 21 09:26:59 2002
+++ bogotest-classify.pl Sat Sep 21 10:21:36 2002
@@ -32,7 +32,7 @@
# fetch command-line arguments & handle usage errors etc.
#
-GetOptions( 'help' => \$help, 'test-path=s' => \$test_path)
+GetOptions( 'help' => \$help, 'directory=s' => \$test_path,
or pod2usage(2);
pod2usage(1) if $help;
@@ -90,12 +90,12 @@
=head1 SYNOPSIS
- bogotest-perf.pl -h
- bogotest-perf.pl -t <path>
+ bogotest-classify.pl -h
+ bogotest-classify.pl -d <path>
Options:
-h optional: brief help message
- -t <path> required: path of test directory
+ -d <path> required: path of test directory
=head1 OPTIONS
</x-flowed>
More information about the bogofilter-dev
mailing list