Tests/Boot/olpc-update

From OLPC
Jump to: navigation, search

Test case: Short name::olpc-update
How to report results

Stream ,|x|Build stream::x}}
Category Test category::Boot Sub-category Test subcategory::olpc-update
Component System component::
Feature System feature::
Objective Test objective::From the terminal upgrade your XO using the olpc-update feature.
Tools Test tools::XO unit, internet connection
Setup Test setup::
Procedure [[Test procedure::
  1. Plug the XO into an electrical outlet
  2. Connect to the internet. If you are upgrading because you have a WPA hotspot at home, you might want to go to a Public Hotspot to connect to the internet for an online upgrade, such as a T-Mobile hotspot or a local libary.
    Firewall note: olpc-upgrade requires outgoing TCP PORT:873 to be unfiltered by the hotspot's firewall. In otherwords if the laptop has functional-access to the internet but olpc-upgrade returns the message "I don't think you're connected to the internet." check the hotspot's firewall is not blocking the outgoing TCP Port 873.
  3. Open the Terminal Activity Activity-terminal.svg or a console and type the following (press the Enter key after it):

From build 703 or later use the sudo command as described here. For earlier builds, see the note below.

sudo olpc-update build-number 

For example:

 sudo olpc-update 711

Or for testing a new build:

 sudo olpc-update 8.2-760

Where

  • build-number is the number of the build to be updated to.

Note: sudo does not work with some builds which require a password until you become "root". You can become "root" by pressing the "#_" icon at the top of the terminal screen. In builds earlier than 703 you may need to type "su -l" (note it's lower case "L" not the number "1") and then "olpc-update build-number" instead.]]

Expected Results
and Pass Criteria
[[Pass criteria::olpc-update is designed to work with even the worst internet connections, and will do no harm if it is interrupted during download. If you don't like your new software update, you can revert to the older version by holding down the O key on the game pad (between the right speaker and the power button) when you next turn the laptop on.]]
Comments More notes::
Release Stream Build Pass/Fail Trac Ticket(s) Comment(s) Date of Test
Software release::Candidate Build stream::8.2 Build number::759 PassFail::Pass ,|x| #x}} Comments::from 650 Created::


Software release::Candidate Build stream::8.2 Build number::760 PassFail::Pass ,|x| #x}} Comments::from 656 Created::


Software release::Candidate Build stream::8.2 Build number::762 PassFail::Pass ,|x| #x}} Comments::from 760 Created::


Software release::Candidate Build stream::8.2 Build number::763 PassFail::Pass ,|x| #x}} Comments::from 762, 760 Created::


Software release::Candidate Build stream::8.2 Build number::765 PassFail::Pass ,|x| #x}} Comments::updating from 763 Created::


Software release::Candidate Build stream::8.2 Build number::766 PassFail::Pass ,|x| #x}} Comments::updated using olpc-update candidate-766. took a while (and two attempts) and worked fine. Created::