mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-16 11:54:06 +02:00
feat: add show_test_result() to output iso checks consistently
This commit is contained in:
parent
a84454068f
commit
5520c18df0
16
quickget
16
quickget
|
@ -393,6 +393,22 @@ function list_supported() {
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function show_test_result() {
|
||||||
|
local RESULT="${1}"
|
||||||
|
local OS="${2}"
|
||||||
|
local RELEASE="${3}"
|
||||||
|
local EDITION="${4:-}"
|
||||||
|
local URL="${5:-}"
|
||||||
|
if [ -n "${EDITION}" ]; then
|
||||||
|
OS="${OS}-${RELEASE}-${EDITION}"
|
||||||
|
else
|
||||||
|
OS="${OS}-${RELEASE}"
|
||||||
|
fi
|
||||||
|
# Pad the OS string to 32 characters
|
||||||
|
OS=$(printf "%-35s" "${OS}")
|
||||||
|
echo -e "${RESULT}: ${OS} ${URL}"
|
||||||
|
}
|
||||||
|
|
||||||
function list_url_all() {
|
function list_url_all() {
|
||||||
OS="${1}"
|
OS="${1}"
|
||||||
os_supported
|
os_supported
|
||||||
|
|
Loading…
Reference in New Issue
Block a user