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))"
|
eval "${result}s=$(($old_count+1))"
|
||||||
|
|
||||||
if $tap_format; then
|
if $tap_format; then
|
||||||
if [ "$result" == not_ok ]; then
|
if [ "$result" = not_ok ]; then
|
||||||
not='not '
|
not='not '
|
||||||
else
|
else
|
||||||
not=''
|
not=''
|
||||||
fi
|
fi
|
||||||
if [ "$result" == skip ]; then
|
if [ "$result" = skip ]; then
|
||||||
skip='# SKIP'
|
skip='# SKIP'
|
||||||
else
|
else
|
||||||
skip=''
|
skip=''
|
||||||
@ -255,7 +255,7 @@ report_outcome() {
|
|||||||
the_shell='File is not executable.'
|
the_shell='File is not executable.'
|
||||||
fi
|
fi
|
||||||
echo "${not}ok $n - ${path} ($the_shell) ${skip}"
|
echo "${not}ok $n - ${path} ($the_shell) ${skip}"
|
||||||
if [ "$result" == not_ok ]; then
|
if [ "$result" = not_ok ]; then
|
||||||
echo '# ------------ Begin output ------------'
|
echo '# ------------ Begin output ------------'
|
||||||
sed 's/^/# /' "$(stdout_file "$abspath")"
|
sed 's/^/# /' "$(stdout_file "$abspath")"
|
||||||
echo '# ------------ End output ------------'
|
echo '# ------------ End output ------------'
|
||||||
|
Loading…
Reference in New Issue
Block a user