From: Johannes Sixt Date: Thu, 5 Feb 2009 19:59:27 +0000 (+0100) Subject: test-lib: Replace uses of $(expr ...) by POSIX shell features. X-Git-Tag: v1.6.3-rc0~130^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d5d9de1b10f478b57803f5f2868ed2334c84e09b?ds=inline;hp=d5d9de1b10f478b57803f5f2868ed2334c84e09b test-lib: Replace uses of $(expr ...) by POSIX shell features. In particular: - Test case counting can be achieved by arithmetic expansion. - The name of the test, e.g. t1234, can be computed with ${0%%} and ${0##}. Signed-off-by: Johannes Sixt ---