diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-17 12:15:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-17 12:15:24 +0000 |
commit | 0ad69f6ee4cdef15673b4ecb16f28c862404c2f5 (patch) | |
tree | d8efee09f0d36fdbe2a0671283cb5ba68f58acec /tests | |
parent | tests: fixup running test out of src tree (diff) | |
download | sandbox-0ad69f6ee4cdef15673b4ecb16f28c862404c2f5.tar.gz sandbox-0ad69f6ee4cdef15673b4ecb16f28c862404c2f5.tar.bz2 sandbox-0ad69f6ee4cdef15673b4ecb16f28c862404c2f5.zip |
tests/sb_printf: include line number in test
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sb_printf_tst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sb_printf_tst.c b/tests/sb_printf_tst.c index 7c9bf33..71a38aa 100644 --- a/tests/sb_printf_tst.c +++ b/tests/sb_printf_tst.c @@ -3,8 +3,8 @@ #define T(fmt, args...) \ do { \ - printf(fmt "\n", ##args); \ - sb_printf(fmt "\n", ##args); \ + printf("%i: " fmt "\n", __LINE__, ##args); \ + sb_printf("%i: " fmt "\n", __LINE__, ##args); \ } while (0) int main(int argc, char *argv[]) |