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:
|
||||
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
|
||||
|
@ -72,5 +72,5 @@ msgstr "Licenza valida"
|
||||
msgid "not approved \\`License'"
|
||||
msgstr "\\`License' non approvata"
|
||||
|
||||
msgid "Specfile checks: ${WARN}$total_issues${NOTE} warning(s)."
|
||||
msgstr "Controllo dello specfile: problemi riscontrati: ${WARN}$total_issues${NOTE}"
|
||||
msgid "${NOTE}Specfile checks: ${NORM}${WARN}$total_issues${NORM} ${NOTE}warnings.${NORM}"
|
||||
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'"
|
||||
msgstr "questo pacchetto dovrebbe essere di tipo \\`noarch'"
|
||||
|
||||
msgid "Quality checks: ${#rpmpkg_name[@]} package(s) checked: ${WARN}$total_issues${NOTE} warning(s)."
|
||||
msgstr "Controlli di qualità: pacchetti rpm: ${#rpmpkg_name[@]}; problemi riscontrati: ${WARN}$total_issues${NOTE}"
|
||||
msgid "${NOTE}Quality checks: ${#rpmpkg_name[@]} package(s) checked: ${NORM}${WARN}$total_issues${NORM}${NOTE} warning(s).${NORM}"
|
||||
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"
|
||||
msgstr "Suggerimento per script perl"
|
||||
|
||||
msgid "Security checks: ${#rpmpkg_name[@]} package(s) checked: ${WARN}$total_issues${NOTE} warning(s)."
|
||||
msgstr "Controlli di sicurezza: pacchetti rpm: ${#rpmpkg_name[@]}; problemi riscontrati: ${WARN}$total_issues${NOTE}"
|
||||
msgid "${NOTE}Security checks: ${#rpmpkg_name[@]} package(s) checked: ${NORM}${WARN}$total_issues${NORM}${NOTE} warning(s).${NORM}"
|
||||
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))
|
||||
|
||||
notify.note "
|
||||
--> ${NOTE}"$"Specfile checks: ${WARN}$total_issues${NOTE} warning(s).""\
|
||||
${NORM}""
|
||||
--> "$"${NOTE}Specfile checks: ${NORM}\
|
||||
${WARN}$total_issues${NORM} ${NOTE}warnings.${NORM}""
|
||||
"
|
||||
return $total_issues
|
||||
}
|
||||
|
@ -441,7 +441,7 @@ BuildArch: noarch
|
||||
test_number=$(($test_number + 1))
|
||||
|
||||
notify.note "
|
||||
--> ${NOTE}"$"Quality checks: ${#rpmpkg_name[@]} \
|
||||
package(s) checked: ${WARN}$total_issues${NOTE} warning(s).""${NORM}""
|
||||
--> "$"${NOTE}Quality checks: ${#rpmpkg_name[@]} \
|
||||
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))
|
||||
|
||||
notify.note "
|
||||
--> ${NOTE}"$"Security checks: ${#rpmpkg_name[@]} \
|
||||
package(s) checked: ${WARN}$total_issues${NOTE} warning(s).""${NORM}""
|
||||
--> "$"${NOTE}Security checks: ${#rpmpkg_name[@]} \
|
||||
package(s) checked: ${NORM}${WARN}$total_issues${NORM}${NOTE} warning(s).${NORM}""
|
||||
"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user