diff options
author | 2024-08-06 11:38:12 +0200 | |
---|---|---|
committer | 2024-08-07 10:58:40 +0200 | |
commit | 91990a04b76e591ffe959f5101645f44cb83c730 (patch) | |
tree | ab399c93d13c1b4ddf6bcff05aff3ca70973c693 /eclass/tests | |
parent | kernel-install.eclass: use dist-kernel_get_module_suffix to find compression (diff) | |
download | gentoo-91990a04b76e591ffe959f5101645f44cb83c730.tar.gz gentoo-91990a04b76e591ffe959f5101645f44cb83c730.tar.bz2 gentoo-91990a04b76e591ffe959f5101645f44cb83c730.zip |
eclass/tests/tests-common.sh: add in_iuse function
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'eclass/tests')
-rw-r--r-- | eclass/tests/tests-common.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/tests/tests-common.sh b/eclass/tests/tests-common.sh index 45b1e20b933a..f4e18f38fee9 100644 --- a/eclass/tests/tests-common.sh +++ b/eclass/tests/tests-common.sh @@ -55,6 +55,8 @@ has() { } use() { has "$1" ${IUSE} ; } +in_iuse() { use "$@" ; } + die() { echo "die: $*" 1>&2 exit 1 |