It sadly doesn't work:
```
$ sudo umount -R base/; echo $?
umount: base/: not mounted
1
```

An alternative would be that:
```
$ sudo umount -R base/*; echo $?
umount: base/bin: not mounted
umount: base/boot: not mounted
umount: base/etc: not mounted
umount: base/home: not mounted
umount: base/lib: not mounted
umount: base/media: not mounted
umount: base/mnt: not mounted
umount: base/opt: not mounted
umount: base/root: not mounted
umount: base/run: not mounted
umount: base/sbin: not mounted
umount: base/srv: not mounted
umount: base/tmp: not mounted
umount: base/usr: not mounted
umount: base/var: not mounted
15
```
This at least works, but it's not really prettier, and could even hide a real 
error message in the mess. I think we'll have to just stick with my version, 
even if not as safe as a recursive operation.
-- 
https://code.launchpad.net/~hyask/ubuntu-manual-tests/+git/ubuntu-manual-tests/+merge/460936
Your team Ubuntu Testcase Admins is requested to review the proposed merge of 
~hyask/ubuntu-manual-tests:skia/cleanup_base_test into ubuntu-manual-tests:main.


-- 
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to     : canonical-ubuntu-qa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help   : https://help.launchpad.net/ListHelp

Reply via email to