oops == is not shell
This commit is contained in:
parent
0d0c7aa0f3
commit
2ce27acf95
6
urchin
6
urchin
@ -240,12 +240,12 @@ report_outcome() {
|
||||
eval "${result}s=$(($old_count+1))"
|
||||
|
||||
if $tap_format; then
|
||||
if [ "$result" == not_ok ]; then
|
||||
if [ "$result" = not_ok ]; then
|
||||
not='not '
|
||||
else
|
||||
not=''
|
||||
fi
|
||||
if [ "$result" == skip ]; then
|
||||
if [ "$result" = skip ]; then
|
||||
skip='# SKIP'
|
||||
else
|
||||
skip=''
|
||||
@ -255,7 +255,7 @@ report_outcome() {
|
||||
the_shell='File is not executable.'
|
||||
fi
|
||||
echo "${not}ok $n - ${path} ($the_shell) ${skip}"
|
||||
if [ "$result" == not_ok ]; then
|
||||
if [ "$result" = not_ok ]; then
|
||||
echo '# ------------ Begin output ------------'
|
||||
sed 's/^/# /' "$(stdout_file "$abspath")"
|
||||
echo '# ------------ End output ------------'
|
||||
|
Loading…
Reference in New Issue
Block a user