a3d91b0a83
bats-file is a helper library providing common filesystem related assertions and helpers for Bats. This library does not provide an installer. Manually install the files under /usr/lib/bats/bats-file which is what the Arch Linux package does[1]. This makes the library loadable using `bats_load_library`[2]. [1] https://gitlab.archlinux.org/archlinux/packaging/packages/bats-file/-/blob/main/PKGBUILD?ref_type=heads [2] https://bats-core.readthedocs.io/en/stable/writing-tests.html#bats-load-library-load-system-wide-libraries Signed-off-by: Brandon Maier <brandon.maier@collins.com> [yann.morin.1998@free.fr: move as sub-option of bats-core] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
15 lines
529 B
Plaintext
15 lines
529 B
Plaintext
config BR2_PACKAGE_BATS_FILE
|
|
bool "bats-file"
|
|
select BR2_PACKAGE_BATS_SUPPORT # runtime
|
|
help
|
|
bats-file is a helper library providing common filesystem
|
|
related assertions and helpers for Bats.
|
|
|
|
Assertions are functions that perform a test and output
|
|
relevant information on failure to help debugging. They return
|
|
1 on failure and 0 otherwise. Output, formatted for
|
|
readability, is sent to the standard error to make assertions
|
|
usable outside of @test blocks too.
|
|
|
|
https://github.com/bats-core/bats-file
|