diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-03-13 13:29:44 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-03-13 13:29:44 +0100 |
commit | 262a2ab59d5bf3974efc3758555919576b9bb2bf (patch) | |
tree | dd6140282d19660216ed2ef3f38e3bcd615166ef /unittest/mysys/bitmap-t.c | |
parent | d32b537edf30a845f74327523844dd6fe551ac8e (diff) | |
download | mariadb-git-262a2ab59d5bf3974efc3758555919576b9bb2bf.tar.gz |
monty's cleanup of my_thr_init.c
and collateral changes
Diffstat (limited to 'unittest/mysys/bitmap-t.c')
-rw-r--r-- | unittest/mysys/bitmap-t.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/unittest/mysys/bitmap-t.c b/unittest/mysys/bitmap-t.c index 4a26b570136..062a0963e76 100644 --- a/unittest/mysys/bitmap-t.c +++ b/unittest/mysys/bitmap-t.c @@ -519,12 +519,12 @@ error: return TRUE; } -int main() +int main(int argc,char *argv[]) { int i; int const min_size = 1; int const max_size = MAX_TESTED_BITMAP_SIZE; - MY_INIT("bitmap-t"); + MY_INIT(argv[0]); plan((max_size - min_size)/7+1); @@ -535,5 +535,6 @@ int main() */ for (i= min_size; i < max_size; i+=7) ok(do_test(i) == 0, "bitmap size %d", i); + my_end(0); return exit_status(); } |