Stream
|
,|x|Build stream::x}}
|
Category
|
Test category::XS
|
Sub-category
|
[[Test subcategory::{{{testcase_subcategory}}}]]
|
Component
|
System component::Schoolserver
|
Feature
|
System feature::kup_and_Restore#Test_plans_and_user_walkthrough]]
|
Objective
|
Test objective::XOs automatically save record activity data to a schoolserver where they are registered. This test case is ensure that a laptop can restore files from the school server.
|
Tools
|
Test tools::Latest XS software, Record activity and access point.
|
Setup
|
[[Test setup::
- Get Schoolserver up and running.
- Access point connection
- Open Record activity and take a picture, video and audio file.
- Make sure to go and look/listen to each file after its been saved to save it to the Journal.
- Confirm that the Journal has entries that read "Photo by [xo-name]", "Video by [xo-name]" and "Audio by [xo-name]" to ensure they backup properly
- Items called "Record Activity" in the Journal are not the specific files you created, just a log of that you used Record Activity.
- Make sure you are still connected to the school server for daily backup (which happens every 24 hours).]]
|
Procedure
|
[[Test procedure::On the XO, ensure you are hooked up to the School Server network.
- Wait until the backup run happens - it will be triggered once a day. How to recognize that it has happened?
- On the XO in the Terminal Activity, be root and run `stat /home/olpc/.sugar/default/ds-backup-done` and look for the 'modified' time, which shows the last time it ran successfully. Check that the XO clock is set to GMT, and might be off-track. Try `TZ=America/New_York stat /home/olpc/.sugar/default/ds-backup-done` to see it in local time.
- To run the script asap, rm /home/olpc/.sugar/default/ds-backup-done -- the script should start within 30 minutes. Note that the script has a large random delay of up to 30 minutes!
- If you don't want the first "within 30 minutes" wait, just run /usr/bin/ds-backup.sh from a Terminal activity (as the olpc user). You will still have to face the large random delay of up to 30 minutes.
- Open Browse
- Follow the link to the Schoolserver
- Add "ds-restore" to the URL in the url bar, so that it reads http://schoolserver/ds-restore
- Click on the serial number of your XO
- You can find the serial number of your XO by going into the Control Panel and looking in "About My XO"
- You will see a listing of the documents available for that date, pick a document
- Clicking on that document will download it, and it will appear in the Journal (and it may auto-open - need to check that ;-) )]]
|
Expected Results and Pass Criteria
|
Pass criteria::
|
Comments
|
More notes::
|