Tests/Journal/Nand-full

From OLPC
< Tests‎ | Journal
Revision as of 13:49, 19 August 2008 by Kimquirk (talk | contribs)
Jump to navigation Jump to search

Test case: Short name::Nand-full
How to report results

Stream ,|x|Build stream::x}}
Category [[Test category::{{{testcase_category}}}]] Sub-category [[Test subcategory::{{{testcase_subcategory}}}]]
Component System component::Journal/Datastore
Feature System feature::trac #7591
Objective [[Test objective::Fill up the Nand memory to >88%; Ensure on the next boot that some files will be deleted automatically to allow booting.]]
Tools [[Test tools::Python script to create files of random data (http://dev.laptop.org/~erik/code/fill_ds_random.py). Type 'python fill_ds_random.py -s 10000000 -b 1000 -t filltext1'. You need to go back into sugar and restart when it tells you to; then go back into virtual terminal and hit a key. You will see a new 100M file when this completes. After about 8 times, you will get to >95% full (using df).]]
Setup Test setup::Fill a laptop with files.
Procedure [[Test procedure::1. Get to >88% diskfull (check progressvia 'df' command).

2. Reboot laptop
3. Agree to deleted files]]

Expected Results
and Pass Criteria
Pass criteria::The laptop should give the message that the disk is full and tell you that it will remove files to allow booting.
Comments More notes::none
Release Stream Build Pass/Fail Trac Ticket(s) Comment(s) Date of Test
Software release::Candidate Build stream::update.1 Build number::709 PassFail::Pass ,|x| #x}} Comments::none Created::


Software release::Candidate Build stream::update.1 Build number::per711-1 PassFail::Pass ,|x| #x}} [[Comments::This test was done on a write protected, Spanish keyboard laptop.

The nand filling program needs to be modified to create files in the journal (it created files in the directory where I ran it). I did get the message to delete files, but I had to go to the virtual terminal to read it and hit enter.

After fixing the way we fill the nand... I will create other bugs that should be addressed in the future.]]

Created::