fix bashisms in testsuite/
authorMichael Tokarev <mjt@tls.msk.ru>
Sun, 10 Nov 2013 21:01:38 +0000 (22:01 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 10 Nov 2013 21:06:06 +0000 (22:06 +0100)
commitafa63b2dcdc9b9d0183ffd84599ea5d4ad94d639
treeaf1b15bd42d42ee5be891983d86532e6e41c7ab8
parent5e63776212f8fab4fba08ab2b99dd5241f0c3880
fix bashisms in testsuite/

These places use ${var/search/replace}, $((n++) and
`type -p' constructs which are not-so-standard.
Replace with equivalent constructs.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
testsuite/hostid/hostid-works
testsuite/md5sum.tests
testsuite/testing.sh
testsuite/which/which-uses-default-path