tests: use printf, not echo in init.sh's warn_ function
authorJim Meyering <meyering@redhat.com>
Tue, 14 Jun 2011 13:37:48 +0000 (15:37 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 17 Jun 2011 06:54:08 +0000 (08:54 +0200)
commit7f8d9892fb4ce29821fc824defaa6e0d32740feb
tree7b063f6c3a212ca1131d1bafecabd0ff1ec02419
parent6b687452d8c08a1b00f53402caf651229cdb0c51
tests: use printf, not echo in init.sh's warn_ function

* tests/init.sh (warn_): Use printf, not echo.  The latter would
misbehave when given strings containing a backslash or starting
with e.g., -n.  James Youngman suggested setting IFS.
tests/init.sh