Fix #166: pmbootstrap shutdown: umount deep folder levels first
Created by: ollieparanoid
- Refactored
umount_all
to get the list of folders to be umounted fromumount_all_list
, so we can test that function in a test case. - Adjusted
umount_all_list
to return the deep folder levels first - Added a testcase for that
- Remove redundant calls to
umount_all()
(which were from a time beforepmbootstrap
was released, in which failing commands did not causepmbootstrap
to raise an exception)