0aa7f38a7f
lib/img-functions:finalise_base() does a recursive unmount of /tmp to cleanup any old mounts that might be in there (we do things like bind mount caches in there). unmount_dir fails if /tmp isn't a directory. The 'run_output_format_test.sh' uses the 'fake-os' element for testing. Because 'fake-os' did not create the '/tmp' directory, the test script fails. This patch fixes the problem: it adds '/tmp' to the list of directories that are created. It was implemented replacing the existing five 'mkdir' command with a for loop over now six directories. Change-Id: Ic7aca155492967b9819f129d3843cf95e136410e Signed-off-by: Andreas Florath <andreas@florath.net> |
||
---|---|---|
.. | ||
elements/fake-os | ||
install_test_deps.sh | ||
README.rst | ||
run_dib_library_tests.sh | ||
run_functests.sh | ||
run_output_format_test.sh |
DIB Testing =========== There are several interfaces for testing various parts of DIB * run_dib_library_tests.sh : run unit-tests for internal diskimage-builder library functions * run_functests.sh : run functional testing provided by elements * run_output_format_test.sh : run a test of image conversion (requires docker)