Rechercher une page de manuel

Chercher une autre page de manuel:

wg-testCodebase

Langue: en

Autres versions - même langue

Version: 2010-06-15 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)

NAME

testCodebase - Test WebGUI's code base.

SYNOPSIS

  testCodebase --configFile /etc/webgui/config.conf
               [--coverage]
               [--noLongTests]
               [--perlBase path]
               [--verbose]
 
  testCodebase --help
 
 

DESCRIPTION

This WebGUI utility script tests all of WebGUI's installed code base using a particular confiuration file. It uses prove to run all the WebGUI supplied test routines, located in the t subdirectory of the WebGUI root.

You should NOT use a production config file for testing, since some of the test may be destructive.

--configFile /etc/webgui/config.conf
A WebGUI config file is required for testing. If one cannot be found based on input from the user, then the script aborts without running any tests.

Config files can be supplied on the command line, or via the environment variable, WEBGUI_CONFIG being used as a fallback. If the config file cannot be found, the script assumes that a bare filename was provided and it will look in /etc/webgui for the config file.

Be aware that some of the tests are destructive, and running tests on production sites is not recommended.

--coverage
Turns on additional Devel::Cover based coverage tests. Note that this can take a long time to run.
--noLongTests
Prevent long tests from being run
--perlBase path
Specify a path to an alternative Perl installation you wish to use for the tests. If left unspecified, it defaults to the Perl installation in the current PATH.
--verbose
Turns on additional information during tests.
--help
Shows this documentation, then exits.

AUTHOR

Copyright 2001-2009 Plain Black Corporation.
<Mikmak> iptables -I INPUT -p tcp --dport 25 -j DROP par exemple
<Djo> [root@dhcp-sitel-4 /root]# iptables -I INPUT -p tcp --dport 25 -j DROP par exemple
<Djo> Bad argument `par'