X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Funiconv%2Ftest-u16-conv-to-enc.c;h=26be776a2c337f807d3495bca08531570d3f8281;hb=9462d43fbc0d873ee7e667ba952616d53b8585e4;hp=135d033efcaee24a98a7e37f283d43a2983cbe54;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/tests/uniconv/test-u16-conv-to-enc.c b/tests/uniconv/test-u16-conv-to-enc.c index 135d033ef..26be776a2 100644 --- a/tests/uniconv/test-u16-conv-to-enc.c +++ b/tests/uniconv/test-u16-conv-to-enc.c @@ -1,5 +1,5 @@ /* Test of conversion from UTF-16 to legacy encodings. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,6 +32,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ @@ -177,7 +178,7 @@ main () &result, &length); ASSERT (retval == 0); ASSERT (length == strlen ("")); - ASSERT (result != NULL); + /* result may be == NULL or != NULL. */ if (o) { ASSERT (offsets[0] == 0);