XS Community Edition/0.3/Testing
XSCE Smoke Test
This set of test cases represents a quick smoke test that a build should pass. Please file bugs at https://sugardextrose.org/projects/xsce/issues .
Ideally tests will run against our reference hardware , XO-1.75. Over time, the test will run against more variations in hardware.
For more complete tests, please see https://sugardextrose.org/testlink/index.php .
Installation
Purpose.
- Verify the installation process works correctly.
Prerequisites.
- None
Steps.
- Install using the the instructions and a fresh OLPC-OS 13.1.0 or Fedora 18 install.
Results.
- The install should complete without errors.
Hardware
The XSCE can detect and utilize several types of hardware.
External SD Card
Purpose.
- Verify the External SD card used for additional storage is functional.
Prerequisites.
- SD card inserted into XO.
Steps.
- Mount /dev/mmcblk0p1
Results.
- Should report on /library
External USB Drive
Purpose.
- Verify the External USB hard drive used for additional storage is functional.
Prerequisites.
- External drive attached to XO via USB cable.
Steps.
- ???
Results.
- ???
Core Service
Core service should be tested using a School Server and a 'client' XO running 13.1.0.
Dynamic Host Configuration (dhcpd)
Purpose
- Verify the dynamic host configuration is functional.
Prerequisites.
Steps
- Connect client to XSCE's AP??? how??
Result
- The XO will get an IP in the 172.18.x.x range. ??? how to test
Network Address Translation/NAT (iptables)
Purpose.
- Verify network address translation is functional.
Prerequisites
Steps.
- ???
Results
- ???
Internet Domain Name Server (named)
Purpose
- Verify the domain name server is functional.
Prerequisites.
- ???
Steps
- ???
Results
- ???
Registration (idmgr)
Purpose.
- Verify XO registration is functional.
Prerequisites
- ???
Steps
- Register the XSCE.
Results.
- Receive a message that registration was successful.
- Registration creates a directory named the XO's serial number in /library/users.
XMPP Server (ejabberd)
Purpose.
- Verify that the XMPP server is functional.
Prerequisites.
- XO should be registered.
Steps.
- If you get a message that registration failed, go to the Sugar Control Panel and in Network, clear out the collaboration server field. Upon successful registration, both XOs will appear in Network Neighborhood.
- To verify that ejabberd is managing collaboration and not the LAN, issue this in a root terminal:
- ejabberdctl connected-users
Results.
- ???
Ejabberd Web Interface
This isn't necessary for testing, but is fun to poke around in:
Register the admin user: ejabberdctl register admin schoolserver.local <password>
In a browser, go to http://schoolserver.local:5280/admin
The username is admin@schoolserver.local and the password is whatever you set above.
Extended Service
Apache Web Server (httpd)
Purpose.
- Verify the web server is functional.
Prerequisites.
- ???
Steps.
- Go to http://schoolserver and http://schoolserver.local.
Results.
- Both should resolve to the Apache test page.
Proxy Caching(squid)
Purpose.
- Verify Proxy caching is functional.
Prerequisites.
- ???
Steps.
- Check the initial size of the squid cache directory: du -sh /library/cache.
- From the client XO's Browse Activity, surf the internet.
- Check the cache directory size again and it should be larger.
Results.
- ???
OLPC-update (rsync)
Purpose.
- Verify OLPC-update is functional.
Prerequisites.
- ???
Steps.
- ???
Results.
- ???
Activity Server (uses httpd)
Purpose.
- Verify http://schoolserver/activities resolves.
Prerequisites.
- ???
Steps.
- Upload an Activity to the school server by using a browser to navigate to http://schoolserver.local/upload_activity.php.
- Click on "Choose File"
- Use the file chooser to indicate which Activity you would like to upload.
Results.
- ???
Virtual Private Network (openvpn)
Purpose.
- Verify VPN is functional.
Prerequisites.
- ????
Steps.
- ???
Results.
- ???
Statistics Collection - Pending Santi/Anish
Purpose.
- Verify Statistics collection is functional.
Prerequisites.
- ???
Steps.
- ???
Results.
- ???
Book server(pathagar)-Pending Sameer/Seth
Purpose.
- Verify book server is functional.
Prerequisites.
- ???
Steps.
- ???
Results.
- ???
Internet in Box
Purpose.
Prerequisites.
- ???
Steps. Verify Internet in Box is functional.
- ???
Results.
- ???