Commit 431b2816 authored by Roland Levillain's avatar Roland Levillain
Browse files

Replace all uses of `echo' with options by `printf'.

	* tests/nolimips-check: Here, as options to `echo' are not
	portable.
parent 283c6c14
2012-03-19 Roland Levillain <roland@lrde.epita.fr>
Replace all uses of `echo' with options by `printf'.
* tests/nolimips-check: Here, as options to `echo' are not
portable.
2009-11-10 Roland Levillain <roland@lrde.epita.fr>
Update bootstrap w.r.t. Gnulib.
......
......@@ -9,14 +9,14 @@ shift 2
fail()
{
echo -e -n "\033[74G"
echo -e "[\033[31;1mFAIL\033[0m]"
printf "\033[74G"
printf "[\033[31;1mFAIL\033[0m]\n"
exit 1
}
pass()
{
echo -e -n "\033[74G"
echo -e "[\033[32;1mPASS\033[0m]"
printf "\033[74G"
printf "[\033[32;1mPASS\033[0m]\n"
}
BUILDDIR=$top_builddir/tests/$MODULE
......@@ -31,7 +31,7 @@ for STDASM in $SRCDIR/*.s; do
STDIN=/dev/null
fi
echo -n "> Testing $ASM:"
printf "> Testing $ASM:"
$NOLIMIPS $NOLFLAGS $STDASM <$STDIN >$STDOUT 2>&1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment