]> git.saurik.com Git - apt.git/commit
use printf instead of echo in testing framework
authorMichele Orrù <maker@tumbolandia.net>
Mon, 7 Jul 2014 18:48:16 +0000 (20:48 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 7 Jul 2014 20:41:07 +0000 (22:41 +0200)
commit3c528b911af131028486d4873d5dcbd0682ed15e
treeca3f3fcfc02ecaad65a970869dd8711607c52b9e
parenteb191ca3584816533e82cd6b8cd1f133ae28149a
use printf instead of echo in testing framework

The behaviour of echo "\tA\t" differs between dash/zsh which interprets
the \t as tab and bash which prints it literally. Similar things happen
for other escape sequences – without the -e flag.
Switching to printf makes this more painless^Wportable, so that the
tests are also working correctly with bash as sh.
(commit message by committer, patch otherwise unmodified)
test/integration/framework
test/integration/run-tests