author | Johannes Sixt <j6t@kdbg.org> | |
Thu, 5 Feb 2009 19:59:27 +0000 (20:59 +0100) | ||
committer | Johannes Sixt <j6t@kdbg.org> | |
Thu, 19 Mar 2009 20:47:14 +0000 (21:47 +0100) | ||
commit | d5d9de1b10f478b57803f5f2868ed2334c84e09b | |
tree | fb7da6d90109cf339eaf3bc8f46cc0f488b73bad | tree | snapshot |
parent | 5b46a4285f3588eaa7e53d513025b28f9f5bfec7 | commit | diff |
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 <j6t@kdbg.org>
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 <j6t@kdbg.org>
t/test-lib.sh | diff | blob | history |