diff --git a/tests/kola/version/toolbox b/tests/kola/version/toolbox new file mode 100644 index 000000000..a39be66ac --- /dev/null +++ b/tests/kola/version/toolbox @@ -0,0 +1,15 @@ +#!/bin/bash + +# This is RHCOS only, we ship a different version of toolbox in FCOS + +# kola: { "exclusive": false } +set -xeuo pipefail + +fatal() { + echo "$@" >&2 + exit 1 +} + +if [ "$(file -b /usr/bin/toolbox)" != "Bourne-Again shell script, ASCII text executable" ]; then + fatal "Error: toolbox is not a shell script as expected" +fi