pmbootstrap/test
Oliver Smith cca5c9aa30 pmb: fix test suite not running through twice
The test suite needed a `pmbootstrap shutdown` after running through,
before it could successfully run again.

Explanation:
This was caused by `test/test_pkgrel_bump.py`, which creates a
temporary work folder with every subfolder ("chroot_native",
"cache_apk_x86_64", ...) linked to the original work folder except for
the "packages" folder. At the end of the test case,
`pmbootstrap shutdown` gets executed and is expected to umount
everything as usual. But it does not umount anything because of the
symlinks, so `work/chroot_native/mnt/pmbootstrap-packages` points to
the fake packages folder of that test case, even after it is finished.

As a result, any test case that tries to access the packages folder in
the native chroot, will fail until `pmbootstrap shutdown` gets called.

Detailed Changes:
* Umount all folders inside the work folder, even if these are symlinks
* Remove obsolete reference to "disable timestamp based rebuilds" in a
  comment in `test/test_pkgrel_bump.py`
* Run `pmbootstrap work_migrate` and `pmbootstrap shutdown` at the
  beginning of `test/testcases_fast.sh`, in case the pkgrel_bump test
  case was aborted before it could properly shutdown and to make it
  more robust in general (user may have changed the mountpoints, work
  folder may need to be migrated)
2018-07-15 20:52:41 +00:00
..
testdata Remove github.com references 2018-06-30 09:00:48 +02:00
check_checksums.py static code analysis: make it pass flake8 3.5.0 2018-07-11 18:58:29 +00:00
check_devices_in_wiki.py Travis: Check for device documentation (#1369) 2018-03-28 21:28:26 +00:00
static_code_analysis.sh static code analysis: make it pass flake8 3.5.0 2018-07-11 18:58:29 +00:00
test_apk_static.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
test_aportgen.py aportgen: Gracefully handle old aports_upstream (#1291) 2018-03-11 14:18:21 +00:00
test_aportgen_device_wizard.py deviceinfo: remove external_disk_install and external_disk, use external_storage instead (#1301) 2018-03-07 22:35:02 +00:00
test_aports.py Add Raspberry Pi device (#1501) 2018-05-29 19:33:40 +00:00
test_bootimg.py pmb: add -f (force) parameter to bootimg_analyze 2018-07-06 21:57:18 +02:00
test_build_is_necessary.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
test_build_package.py pmbootstrap: handle checkdepends (#1533) 2018-06-04 19:07:52 +00:00
test_buildroot_aarch64_init.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_chroot_interactive_shell.py pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00
test_config_user.py Remove timestamp based rebuilds (#1174) 2018-01-28 23:27:33 +00:00
test_file.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_folder_size.py Remove github.com references 2018-06-30 09:00:48 +02:00
test_frontend.py pmbootstrap build --src: override source for any package (#1210) 2018-02-19 22:04:01 +00:00
test_install.py Make proprietary drivers optional (1/2): pmbootstrap changes (#1254) 2018-02-24 21:49:10 +00:00
test_keys.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
test_mount.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_newapkbuild.py Wrap Alpine's newapkbuild (#894) 2018-01-15 22:00:11 +00:00
test_parse_apkbuild.py pmbootstrap init: kernel selection / remove linux-pmos-lts (#1363) 2018-04-03 23:50:09 +00:00
test_parse_apkindex.py Skip virtual packages when parsing APKINDEX (#1278) 2018-03-10 13:15:30 +00:00
test_parse_depends.py Display wiki link on dependency error (#1410) 2018-04-23 20:51:06 +00:00
test_pkgrel_bump.py pmb: fix test suite not running through twice 2018-07-15 20:52:41 +00:00
test_qemu_running_processes.py pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00
test_questions.py pmbootstrap init: kernel selection / remove linux-pmos-lts (#1363) 2018-04-03 23:50:09 +00:00
test_repo.py aportgen: Gracefully handle old aports_upstream (#1291) 2018-03-11 14:18:21 +00:00
test_run_core.py pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00
test_shell_escape.py pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00
test_soname_bump.py Gracefully handle packages breaking because of soname bumps (#1116) 2018-01-14 01:26:42 +00:00
test_upstream_compatibility.py upstream compatibility test: check against x86_64 2018-05-20 22:04:44 +02:00
test_version.py Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00:00
test_version_validate.py version.py: fix validation of 6.0_0002 (#1160) 2018-01-25 18:23:55 +00:00
testcases_fast.sh pmb: fix test suite not running through twice 2018-07-15 20:52:41 +00:00