diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-20 21:36:51 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-05-07 22:04:54 +0200 |
commit | 96e21b617d72fc94445e18b6fb1e653850e0885e (patch) | |
tree | f381f8b926e8310de8ab1540b4122a7cbc09b360 /support/testing/tests/core/post-image.sh | |
parent | a732fb222b8a60076a93d490834d459b0a1c1d6b (diff) | |
download | buildroot-96e21b617d72fc94445e18b6fb1e653850e0885e.tar.gz buildroot-96e21b617d72fc94445e18b6fb1e653850e0885e.zip |
support/testing: add core tests
This commit adds a few Buildroot "core" tests, testing functionalities
such as:
- post-build and post-image scripts
- root filesystem overlays
- timezone support
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/testing/tests/core/post-image.sh')
-rwxr-xr-x | support/testing/tests/core/post-image.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/support/testing/tests/core/post-image.sh b/support/testing/tests/core/post-image.sh new file mode 100755 index 0000000000..1c2a0f2c89 --- /dev/null +++ b/support/testing/tests/core/post-image.sh @@ -0,0 +1,12 @@ +#!/bin/sh +( +printf "arg1,%s\n" "${1}" +printf "arg2,%s\n" "${2}" +printf "arg3,%s\n" "${3}" +printf "TARGET_DIR,%s\n" "${TARGET_DIR}" +printf "BUILD_DIR,%s\n" "${BUILD_DIR}" +printf "HOST_DIR,%s\n" "${HOST_DIR}" +printf "STAGING_DIR,%s\n" "${STAGING_DIR}" +printf "BINARIES_DIR,%s\n" "${BINARIES_DIR}" +printf "BR2_CONFIG,%s\n" "${BR2_CONFIG}" +) > ${BUILD_DIR}/post-image.log |