Well, now the test doesn't fail at all... well it does.  I've modified
the script to behave better,  Instead of a nasty traceback, all you get
is an overall fail of the test and output that tells you which partition
failed.  I tried in on my own systems with 2 usb keys:

1: Common use case, 8GB USB key with a single vfat partition.
2: Non-common case, 8GB USB key with 1 ext2, 1 vfat and 1 NTFS partition.

2 was set so that partition 1 (ext2) was mounted/owned by root, and
partition 3 (NTFS) was mounted read-only

On testing key 1, test passed and returned 0.
On testing key 2, test passed on 1 partition, failed on 2, test returned a 1.


** Changed in: checkbox
       Status: New => Fix Committed

** Changed in: checkbox
   Importance: Undecided => Medium

** Changed in: checkbox
     Assignee: (unassigned) => Jeff Lane (bladernr)

** Changed in: checkbox (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: checkbox (Ubuntu)
       Status: In Progress => Triaged

** Changed in: checkbox (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/912522

Title:
  usb_test fails on non-writable filesystems

To manage notifications about this bug go to:
https://bugs.launchpad.net/checkbox/+bug/912522/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to