tests: add test for post-fakeroot script
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 14 Jan 2018 14:16:58 +0000 (15:16 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 15 Jan 2018 20:37:45 +0000 (21:37 +0100)
commit02fc52fe599c2983448a59010b54a675eb09b18a
tree0023f22392b0b689af98f6458b147069c9d4293e
parent4b3d1b36a3ead6939fc48b9083754be763ada1c3
tests: add test for post-fakeroot script

Currently, only post-build and post-image scripts were tested, each with
their own test-script.

The two test-scripts only differ in the name of the log file they
create, and it is based on the name of the script, so it is easy to
share the script.

This allows us to easily re-use it for testing post-fakeroot scripts.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
support/testing/tests/core/post-build.sh
support/testing/tests/core/post-fakeroot.sh [new symlink]
support/testing/tests/core/post-image.sh [changed from file to symlink]
support/testing/tests/core/test_post_scripts.py