[freetds] One failing unit test (iconv_read) on git master on OS X

Marc Abramowitz marca at surveymonkey.com
Sat Sep 14 12:30:08 EDT 2013


The weird thing is that the test is complaining about out_len being 1024 bytes instead of 4077:

marca at marca-mac:~/dev/git-repos/freetds$ cat src/tds/unittests/iconv_fread.log
out 1024 bytes expected 4077
res 0 out_len 1024

But the output file has 4077 "a" characters (and then a space and two exclamation points):

marca at marca-mac:~/dev/git-repos/freetds$ wc -c src/tds/unittests/iconv_fread.out
    4080 src/tds/unittests/iconv_fread.out
marca at marca-mac:~/dev/git-repos/freetds$ cat src/tds/unittests/iconv_fread.out
aaaaaa… !!

which looks like it might be correct.


More information about the FreeTDS mailing list