Fix pattern substituion (found with bash3.2.57)
This commit is contained in:
@@ -47,7 +47,7 @@ rl::printPath() {
|
||||
local inputwidth=${config_path_width}
|
||||
|
||||
if (( flag_extendedOutput )); then
|
||||
printf -- "%-3d Inp: %-${config_path_width}s ---" ${testnum} "${input}"
|
||||
printf -- "%-5d Inp: %-${config_path_width}s ---" ${testnum} "${input}"
|
||||
else
|
||||
# Truncate input string on the left if longer than $config_path_width
|
||||
if (( ${#input} > ${config_path_width} )) ; then
|
||||
@@ -97,7 +97,7 @@ rl::testcmp() {
|
||||
printf " %b\n" "${testresult_graphic}"
|
||||
if (( ! testresult )); then
|
||||
# Test failed
|
||||
printf " Result: %s\n Exp: %s\n" "${actual}" "${expect}"
|
||||
printf " Result: %s\n Exp: %s\n" "${actual}" "${expect}"
|
||||
|
||||
if (( flag_verbose )); then
|
||||
[ -e "${input}" ] && printf "\n Subject:\n" && ls -al "${input}"
|
||||
|
Reference in New Issue
Block a user