| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| htdocs | 2009-11-10 | ||
| README | 2009-11-09 | 3.4 kB | |
| Totals: 2 Items | 3.4 kB | 0 |
You must have a test environment is like this:
----- -------------
| TM1 | | AP1 (cisco) |
----- \ / -------------
\ --------- -------- /
| Test | ------- | AP |
| machine |----| Server |----| network|
| network | ------- | |
/ --------- -------- \
----- / \ -----
| TM2 | | AP2 |
----- -----
Precondition
1. This test script license is GPLv2. But this test script needs tet from
http://tetworks.opengroup.org/tet/, tet license is Artistic.
2. To run this test script, we need an cisco AP. We will also add support
for dlink and asus in the future.
3. perl-Net-Telnet packages should be installed in Server.
4. This script is tested on Fedora system (TM1)
5. Suggest to Reset Cisco AP to Factory Defaults (Except IP Address).
<SYSTEM SOFTWARE> -> <System Configuration> -> <Reset to Factory
Defaults (Except IP Address)>
Installation/Configure
=========================
1. Put the test script in machine <TM1>
2. If TM1 cannot directly access Internet, you need download tet according
to howto.txt. Notes tet license is Artistic.
3. run "config.sh -flrt", input accordingly
4. Run test script:
. /etc/TVSEnvironment
tvs run
5. If two cases passed, Congratulation, you make test script running!
Test scenarios
========================
1. /usr/tet/TVS/tset/iwl/tet_scen defines scenarios for different purpose
2. /usr/tet/TVS/etc/TVSListing defines which scenarios that will be run.
3. For more information, please read doc/TVS introduction.ppt
ABAT/Nightly testing
=========================
1. Edit /usr/tet/TVS/etc/TVSList with the following contents:
iwl Start_A_Band
iwl bat_a
iwl Start_B_Band
iwl bat_b
iwl Start_N_Band
iwl bat_n
iwl Start_N2_Band
iwl bat_n2
iwl Start_G_Band
iwl bat_g
iwl Start_G_Band
iwl bat_power
Notes: Start_A_Band, or bat_a etc, are test scenarios that defined in tet_scen
2. Run test script:
. /etc/TVSEnvironment
tvs run
Different card support
===============================
This test script was written for Intel wireless cards, and considering
the compatibility with wireless cards from other vendors. The general
test cases are hardware independent except for driver loading. So the
test script make driver-loading as configurable function. Here is some
hints for porting for cards for other vendors:
1. Define load module. Example for loading iwmc3200wifi:
iwl_load_evp()
{
modprobe -r iwmc3200wifi
sleep 5
modprobe iwmc3200wifi
sleep 5
ifconfig wlan0 up
}
2. Define global variable iwl_load_module_vendor in
/usr/tet/TVS/tsets/iwl/tet_scen:
iwl_load_module_vendor=iwl_load_evp
Different wireless utility support
===================================
Up to now most test cases use wireless extension. But in the future, we will
use iw/nl80211. To use iw/nl80211, we can add a line:
. iwl_iw.sh
between two sequent lines at the bottom of each test suites (like wep.sh)
. iwl_common.sh
. $TVS_ROOT/lib/TVSFunctions.sh
Please refer to abat_iw.sh