Meego Wiki
Views

Quality/TestSuite/MCTS/Run MCTS/mcts-connman-tests

From MeeGo wiki
< Quality | TestSuite | MCTS | Run MCTS
Revision as of 07:32, 6 May 2011 by Xzheng (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

mcts-connman-tests

1. Setup test environement

Ethernet network: Connect your test machine to Ethernet network. Run ifconfig and get Bcast address, for example 10.239.36.255. 
    Make  sure 'ping -b 10.239.36.255' can get response. If not, you need setup another machine in this network to response broadcast 
    ping. If the another machine is linux, you can make it work by 'echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts'
Bluetooth network: You need a bluetooth PANU server near your test machine. It can be an PANU AP, or a machine that provide PAN service. 
    Please refer to mcts-bluez-tests on how to setup a PANU server.
WiFi network: Setup a open hidden WiFi AP with essid "Guest"
All networks should provide DHCP service to automatically assign IP address. And can response broadcast ping.

2. Run in test machine

testrunner-lite -a -l '-testset=WiFiFeture' -f /usr/share/mcts-connman-tests/tests.xml -o results.xml
Personal tools