tests: fix the color tags used in the final messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
cf3bcb0edb
commit
705396eab1
@ -59,6 +59,12 @@ Changes in version 1.14.2
|
|||||||
* italian manpage - Davide Madrisan:
|
* italian manpage - Davide Madrisan:
|
||||||
Update italian manpage and document new extensions.
|
Update italian manpage and document new extensions.
|
||||||
|
|
||||||
|
+ bugfix
|
||||||
|
* tests/* - Davide Madrisan:
|
||||||
|
Fix the color tags of the final message in each test module; they worked for
|
||||||
|
teminal colors but not for the web scheme.
|
||||||
|
(Bug discovered by Silvan Calarco)
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.14.1 - _TO*Hacklab release
|
Changes in version 1.14.1 - _TO*Hacklab release
|
||||||
|
@ -72,5 +72,5 @@ msgstr "Licenza valida"
|
|||||||
msgid "not approved \\`License'"
|
msgid "not approved \\`License'"
|
||||||
msgstr "\\`License' non approvata"
|
msgstr "\\`License' non approvata"
|
||||||
|
|
||||||
msgid "Specfile checks: ${WARN}$total_issues${NOTE} warning(s)."
|
msgid "${NOTE}Specfile checks: ${NORM}${WARN}$total_issues${NORM} ${NOTE}warnings.${NORM}"
|
||||||
msgstr "Controllo dello specfile: problemi riscontrati: ${WARN}$total_issues${NOTE}"
|
msgstr "${NOTE}Controllo dello specfile: problemi riscontrati: ${NORM}${WARN}$total_issues${NORM}"
|
||||||
|
@ -118,5 +118,6 @@ msgstr "ricerca di pacchetti con errato tag BuildArch"
|
|||||||
msgid "this package should be tagged \\`noarch'"
|
msgid "this package should be tagged \\`noarch'"
|
||||||
msgstr "questo pacchetto dovrebbe essere di tipo \\`noarch'"
|
msgstr "questo pacchetto dovrebbe essere di tipo \\`noarch'"
|
||||||
|
|
||||||
msgid "Quality checks: ${#rpmpkg_name[@]} package(s) checked: ${WARN}$total_issues${NOTE} warning(s)."
|
msgid "${NOTE}Quality checks: ${#rpmpkg_name[@]} package(s) checked: ${NORM}${WARN}$total_issues${NORM}${NOTE} warning(s).${NORM}"
|
||||||
msgstr "Controlli di qualità: pacchetti rpm: ${#rpmpkg_name[@]}; problemi riscontrati: ${WARN}$total_issues${NOTE}"
|
msgstr "${NOTE}Controlli di qualità: pacchetti rpm: ${#rpmpkg_name[@]}; problemi riscontrati: ${NORM}${WARN}$total_issues${NORM}"
|
||||||
|
|
||||||
|
@ -64,5 +64,5 @@ msgstr "Suggerimento per script bash (richiede \\`mktemp')"
|
|||||||
msgid "Hint for perl scripts"
|
msgid "Hint for perl scripts"
|
||||||
msgstr "Suggerimento per script perl"
|
msgstr "Suggerimento per script perl"
|
||||||
|
|
||||||
msgid "Security checks: ${#rpmpkg_name[@]} package(s) checked: ${WARN}$total_issues${NOTE} warning(s)."
|
msgid "${NOTE}Security checks: ${#rpmpkg_name[@]} package(s) checked: ${NORM}${WARN}$total_issues${NORM}${NOTE} warning(s).${NORM}"
|
||||||
msgstr "Controlli di sicurezza: pacchetti rpm: ${#rpmpkg_name[@]}; problemi riscontrati: ${WARN}$total_issues${NOTE}"
|
msgstr "${NOTE}Controlli di sicurezza: pacchetti rpm: ${#rpmpkg_name[@]}; problemi riscontrati: ${NORM}${WARN}$total_issues${NORM}"
|
||||||
|
@ -309,8 +309,8 @@ ${NOTE}@package@ --eval=rpm_approved_licenses${NORM}
|
|||||||
test_number=$(($test_number + 1))
|
test_number=$(($test_number + 1))
|
||||||
|
|
||||||
notify.note "
|
notify.note "
|
||||||
--> ${NOTE}"$"Specfile checks: ${WARN}$total_issues${NOTE} warning(s).""\
|
--> "$"${NOTE}Specfile checks: ${NORM}\
|
||||||
${NORM}""
|
${WARN}$total_issues${NORM} ${NOTE}warnings.${NORM}""
|
||||||
"
|
"
|
||||||
return $total_issues
|
return $total_issues
|
||||||
}
|
}
|
||||||
|
@ -441,7 +441,7 @@ BuildArch: noarch
|
|||||||
test_number=$(($test_number + 1))
|
test_number=$(($test_number + 1))
|
||||||
|
|
||||||
notify.note "
|
notify.note "
|
||||||
--> ${NOTE}"$"Quality checks: ${#rpmpkg_name[@]} \
|
--> "$"${NOTE}Quality checks: ${#rpmpkg_name[@]} \
|
||||||
package(s) checked: ${WARN}$total_issues${NOTE} warning(s).""${NORM}""
|
package(s) checked: ${NORM}${WARN}$total_issues${NORM}${NOTE} warning(s).${NORM}""
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
@ -179,7 +179,7 @@ ${NOTE}"$"Hint for perl scripts"":${NORM}
|
|||||||
test_number=$(($test_number + 1))
|
test_number=$(($test_number + 1))
|
||||||
|
|
||||||
notify.note "
|
notify.note "
|
||||||
--> ${NOTE}"$"Security checks: ${#rpmpkg_name[@]} \
|
--> "$"${NOTE}Security checks: ${#rpmpkg_name[@]} \
|
||||||
package(s) checked: ${WARN}$total_issues${NOTE} warning(s).""${NORM}""
|
package(s) checked: ${NORM}${WARN}$total_issues${NORM}${NOTE} warning(s).${NORM}""
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user