Go to file
Ricardo Martincoski 0a90740488 testing/tests/download: test case for git refs
All upcoming tests for git refs will rely on the return code of make to
determine whether a git ref can be downloaded or not and also to
determine whether the downloaded content is correct (all of this taking
advantage of the check-hash mechanism already in place for git
packages).
So to avoid false results i.e. in the case the check-hash mechanism
become broken in the master branch, add some sanity checks before the
actual test of download git refs.

Add the minimum test case for git refs containing only sanity checks.
Reuse the commit in the static repo.
Add a br2-external with two packages to check that:
 - trying to download an invalid sha1 generates an error;
 - downloading a valid sha1 that contains unexpected content generates
   an error.

In order to ease the maintenance and review, each upcoming patch adding
checks to this test case will add at same time the commits to the static
repo, the equivalent packages to the br2-external and code to the test
case.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
Cc: Arnout Vandecappelle <arnout@mind.be>
Tested-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-02-04 20:44:29 +01:00
arch arch/mips: add (Marvell) Octeon III processor 2019-02-04 17:30:18 +01:00
board qemu/aarch64-virt: Emulate cortex-a53 in qemu to match Buildroot config 2019-01-27 22:38:45 +01:00
boot boot/uboot: use HOSTCC_NOCCACHE as kconfig HOSTCC 2019-01-16 23:38:13 +01:00
configs qemu_riscv64_virt_defconfig: fix linux header selection 2019-01-28 22:04:33 +01:00
docs docs/website: fixing query.yahooapis.com shutdown 2019-02-04 15:06:20 +01:00
fs fs/common.mk: make sure that static devices from packages are created 2018-12-04 21:53:14 +01:00
linux linux: add option to enable support for Device Tree overlays 2019-02-03 20:27:41 +01:00
package package/rrdtool: bump version from 1.6.0 to 1.7.0 2019-02-04 19:48:38 +01:00
support testing/tests/download: test case for git refs 2019-02-04 20:44:29 +01:00
system skeleton: use BR2_SYSTEM_DEFAULT_PATH as default PATH 2018-12-31 14:32:44 +01:00
toolchain Introduce the variable BR2_TOOLCHAIN_HAS_UCONTEXT 2019-02-04 11:00:01 +01:00
utils utils/check-package: handle ifdef/ifndef in .mk files 2019-01-29 16:38:41 +01:00
.defconfig
.flake8 .flake8: ignore utils/diffconfig 2018-03-13 22:37:54 +01:00
.gitignore
.gitlab-ci.yml testing/tests/download: test case for git refs 2019-02-04 20:44:29 +01:00
.gitlab-ci.yml.in .gitlab-ci.yml: store .config files as artefacts for defconfig tests 2018-12-09 17:31:13 +01:00
CHANGES Update for 2018.02.10 2019-01-31 22:12:51 +01:00
Config.in infra: add force build flag for host dependencies 2019-02-04 15:52:44 +01:00
Config.in.legacy package/boost: bump to version 1.69.0 2019-01-13 21:45:43 +01:00
COPYING
DEVELOPERS package/pamtester: new package 2019-02-04 18:05:01 +01:00
Makefile Makefile: respect strip exclusions for special libraries 2019-02-04 16:56:01 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches