Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/bstrlib.spec'], chrootPath='/var/lib/mock/610322-fedora-rawhide-i386/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/bstrlib.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/bstrlib-1.0.0-2.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/bstrlib.spec'], chrootPath='/var/lib/mock/610322-fedora-rawhide-i386/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/bstrlib.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XFWoTt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bstrlib-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bstrlib-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/Makefile ./Makefile + sed -i 's|@VER@|1.0.0|g' Makefile + sed -i 's|@BUILDLIBDIR@|/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib|g' Makefile + sed -i 's|@MAJORVER@|1|g' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LQ5wyi + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + make -j2 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' all gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -c -o bstrlib.o bstrlib.c gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -c -o bstraux.o bstraux.c gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -c -o utf8util.o utf8util.c gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -c -o buniutil.o buniutil.c g++ -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -c -o bstrwrap.o bstrwrap.cpp gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -c -o bsafe.o bsafe.c gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -shared -Wl,-soname=libbstr.so.1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libbstr.so.1.0.0 bstrlib.o bstraux.o utf8util.o buniutil.o ln -sf libbstr.so.1.0.0 libbstr.so #will be linked to Bstrlib-c++ and Bstrlib-safe gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -shared -Wl,-soname=libbstrsafe.so.1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libbstrsafe.so.1.0.0 bsafe.o g++ -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -nodefaultlibs -shared -Wl,-soname=libbstrc++.so.1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libbstrc++.so.1.0.0 -L. bstrwrap.o -lstdc++ -lgcc -lc -lbstr #avoid rpmlint from complaining about unused direct shared library dependency on libm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7RNL9g + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386 ++ dirname /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386 + cd bstrlib-1.0.0 + mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib + for f in libbstr.so.1.0.0 libbstrsafe.so.1.0.0 libbstrc++.so.1.0.0 + cp -p -f /builddir/build/BUILD/bstrlib-1.0.0/libbstr.so.1.0.0 /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib/libbstr.so.1.0.0 + for f in libbstr.so.1.0.0 libbstrsafe.so.1.0.0 libbstrc++.so.1.0.0 + cp -p -f /builddir/build/BUILD/bstrlib-1.0.0/libbstrsafe.so.1.0.0 /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib/libbstrsafe.so.1.0.0 + for f in libbstr.so.1.0.0 libbstrsafe.so.1.0.0 libbstrc++.so.1.0.0 + cp -p -f /builddir/build/BUILD/bstrlib-1.0.0/libbstrc++.so.1.0.0 /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib/libbstrc++.so.1.0.0 + mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/include/bstrlib/ + cp -a /builddir/build/BUILD/bstrlib-1.0.0/bsafe.h /builddir/build/BUILD/bstrlib-1.0.0/bstraux.h /builddir/build/BUILD/bstrlib-1.0.0/bstrlib.h /builddir/build/BUILD/bstrlib-1.0.0/bstrwrap.h /builddir/build/BUILD/bstrlib-1.0.0/buniutil.h /builddir/build/BUILD/bstrlib-1.0.0/utf8util.h /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/include/bstrlib/ + ldconfig -n /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib -v /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib: libbstr.so.1 -> libbstr.so.1.0.0 (changed) libbstrsafe.so.1 -> libbstrsafe.so.1.0.0 (changed) libbstrc++.so.1 -> libbstrc++.so.1.0.0 (changed) + cd /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib + ln -sf libbstr.so.1.0.0 libbstr.so + ln -sf libbstrsafe.so.1.0.0 libbstrsafe.so + ln -sf libbstrc++.so.1.0.0 libbstrc++.so + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.0.0-2.fc28 --unique-debug-suffix -1.0.0-2.fc28.i386 --unique-debug-src-base bstrlib-1.0.0-2.fc28.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bstrlib-1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib/libbstrsafe.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib/libbstrc++.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib/libbstr.so.1.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 426 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1AuCKh + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + make LIBDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib INCLUDEDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/include/bstrlib/ 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' check gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -c -o bstest.o bstest.c bstest.c: In function 'test0_2': bstest.c:181:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'unsigned char *' [-Wformat=] printf ("[%d] \"%s\" != \"%s\"\n", b->data, t); ~^ ~~~~~~~ %hhn bstest.c:181:33: warning: format '%s' expects a matching 'char *' argument [-Wformat=] printf ("[%d] \"%s\" != \"%s\"\n", b->data, t); ~^ bstest.c: In function 'test47_0': bstest.c:635:71: warning: pointer targets in passing argument 1 of 'dumpCstring' differ in signedness [-Wpointer-sign] printf (".\tbiseqblk (%s, %s) = %d\n", dumpBstring (b), dumpCstring (blk), rv); ^~~ bstest.c:75:14: note: expected 'const char *' but argument is of type 'const unsigned char *' static char* dumpCstring (const char* s) { ^~~~~~~~~~~ bstest.c: In function 'test15_0': bstest.c:1072:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!biseq (b0, b2)) ret++; if (ret && 0 == linenum) linenum = __LINE__; ^~ bstest.c:1072:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!biseq (b0, b2)) ret++; if (ret && 0 == linenum) linenum = __LINE__; ^~ bstest.c: In function 'test48_0': bstest.c:3040:83: warning: pointer targets in passing argument 1 of 'dumpCstring' differ in signedness [-Wpointer-sign] printf (".\tbiseqcaselessblk (%s, %s, %d) = %d\n", dumpBstring (b), dumpCstring (blk), len, rv); ^~~ bstest.c:75:14: note: expected 'const char *' but argument is of type 'const unsigned char *' static char* dumpCstring (const char* s) { ^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wall -o bstest -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib -lbstr bstest.o -I/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/include/bstrlib/ LD_PRELOAD=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib/libbstr.so.1.0.0 ./bstest Direct case testing of bstring core functions TEST: bstring bfromcstr (const char * str); . bfromcstr (NULL) = NULL . bfromcstr ("") = 0x566cf190:"" . bfromcstr ("bogus") = 0x566cf190:"bogus" . bfromcstr ("This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x566cf190:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." # failures: 0 TEST: bstring bfromcstralloc (int len, const char * str); . bfromcstralloc (*, NULL) = NULL . bfromcstralloc (*, NULL) = NULL . bfromcstralloc (0, "") = 0x566cf370:"" . bfromcstralloc (30, "") = 0x566cf370:"" . bfromcstralloc (0, "bogus") = 0x566cf370:"bogus" . bfromcstralloc (30, "bogus") = 0x566cf370:"bogus" . bfromcstralloc (0, "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x566cf370:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bfromcstralloc (30, "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x566cf370:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." TEST: bstring bfromcstrrangealloc (int minl, int maxl, const char * str); . bfromcstrrangealloc (*,*,NULL) correct . bfromcstrrangealloc (*,*,cstr[0x56660ed0] -> "") correct . bfromcstrrangealloc (*,*,cstr[0x566622ec] -> "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") correct # failures: 0 TEST: bstring blk2bstr (const void * blk, int len); . blk2bstr (NULL, len=10) = NULL . blk2bstr (NULL, len=0) = NULL . blk2bstr (NULL, len=-1) = NULL . blk2bstr (blk=0x566615e1, len=5) = 0x566cfa30:"bogus" . blk2bstr (blk=0x566622ec, len=86) = 0x566cfa30:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . blk2bstr (blk=0x566622ec, len=5) = 0x566cfa30:"This " . blk2bstr (blk=0x566622ec, len=0) = 0x566cfa30:"" . blk2bstr (NULL, len=-1) = NULL # failures: 0 TEST: char * bstr2cstr (const_bstring s, char z); . bstr2cstr (NULL, 3F) = NULL . bstr2cstr (0x56666094[c]:"", 3F) = "" . bstr2cstr (0x56666088[c]:"bogus", 3F) = "bogus" . bstr2cstr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3F) = "This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bstr2cstr (0x56666004:[err:data=NULL], 3F) = NULL . bstr2cstr (0x56666070:[err:slen=-5<0], 3F) = NULL # failures: 0 TEST: bstring bstrcpy (const_bstring b1); . bstrcpy (NULL) = NULL . bstrcpy (0x56666004:[err:data=NULL]) = NULL . bstrcpy (0x56666070:[err:slen=-5<0]) = NULL . bstrcpy (0x56666094[c]:"") = 0x566cf180:"" . bstrcpy (0x56666088[c]:"bogus") = 0x566cf180:"bogus" . bstrcpy (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x566cf180:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." # failures: 0 TEST: bstring bmidstr (const_bstring b, int left, int len); . bmidstr (NULL, 0, 0) = NULL . bmidstr (NULL, 0, 2) = NULL . bmidstr (NULL, 0, -2) = NULL . bmidstr (NULL, -5, 2) = NULL . bmidstr (NULL, -5, -2) = NULL . bmidstr (0x56666004:[err:data=NULL], 1, 3) = NULL . bmidstr (0x56666070:[err:slen=-5<0], 1, 3) = NULL . bmidstr (0x56666094[c]:"", 0, 0) = 0x566cf180:"" . bmidstr (0x56666094[c]:"", 0, -1) = 0x566cf180:"" . bmidstr (0x56666094[c]:"", 1, 3) = 0x566cf180:"" . bmidstr (0x56666088[c]:"bogus", 0, 0) = 0x566cf180:"" . bmidstr (0x56666088[c]:"bogus", 0, -1) = 0x566cf180:"" . bmidstr (0x56666088[c]:"bogus", 1, 3) = 0x566cf180:"ogu" . bmidstr (0x56666088[c]:"bogus", -1, 3) = 0x566cf180:"bo" . bmidstr (0x56666088[c]:"bogus", -1, 9) = 0x566cf180:"bogus" . bmidstr (0x56666088[c]:"bogus", 3, -1) = 0x566cf180:"" . bmidstr (0x56666088[c]:"bogus", 9, 3) = 0x566cf180:"" # failures: 0 TEST: int bconcat (bstring b0, const_bstring b1); . bconcat (NULL, NULL) = -1 . bconcat (NULL, 0x56666094[c]:"") = -1 . bconcat (0x56666094[c]:"", NULL) = -1 . bconcat (0x56666094[c]:"", 0x56666004:[err:data=NULL]) = -1 . bconcat (0x56666094[c]:"", 0x56666070:[err:slen=-5<0]) = -1 . bconcat (0x56666004:[err:data=NULL], 0x56666094[c]:"") = -1 . bconcat (0x56666070:[err:slen=-5<0], 0x56666094[c]:"") = -1 . bconcat (0x566cf180[p]:"", 0x56666094[c]:"") = 0x566cf180[p]:"" . bconcat (0x566cf180:"", 0x56666094[c]:"") = 0x566cf180:"" . bconcat (0x566cf180[p]:"", 0x56666088[c]:"bogus") = 0x566cf180[p]:"" . bconcat (0x566cf180:"", 0x56666088[c]:"bogus") = 0x566cf180:"bogus" . bconcat (0x566cf180[p]:"bogus", 0x56666094[c]:"") = 0x566cf180[p]:"bogus" . bconcat (0x566cf180:"bogus", 0x56666094[c]:"") = 0x566cf180:"bogus" . bconcat (0x566cf180[p]:"bogus", 0x56666088[c]:"bogus") = 0x566cf180[p]:"bogus" . bconcat (0x566cf180:"bogus", 0x56666088[c]:"bogus") = 0x566cf180:"bogusbogus" TEST: bconcat aliasing # failures: 0 TEST: int bconchar (bstring b, char c); . bconchar (NULL, x) = -1 . bconchar (0x56666004:[err:data=NULL], x) = -1 . bconchar (0x56666070:[err:slen=-5<0], x) = -1 . bconchar (0x56666094[c]:"", x) = 0x566cfa20[p]:"" . bconchar (0x56666094[c]:"", x) = 0x566cfa20:"x" . bconchar (0x56666088[c]:"bogus", x) = 0x566cfa20[p]:"bogus" . bconchar (0x56666088[c]:"bogus", x) = 0x566cfa20:"bogusx" # failures: 0 TEST: int biseq (const_bstring b0, const_bstring b1); . biseq (NULL, NULL) = -1 . biseq (0x56666094[c]:"", NULL) = -1 . biseq (NULL, 0x56666094[c]:"") = -1 . biseq (0x56666088[c]:"bogus", NULL) = -1 . biseq (NULL, 0x56666088[c]:"bogus") = -1 . biseq (0x56666004:[err:data=NULL], 0x56666004:[err:data=NULL]) = -1 . biseq (0x56666070:[err:slen=-5<0], 0x56666070:[err:slen=-5<0]) = -1 . biseq (0x56666088[c]:"bogus", 0x56666070:[err:slen=-5<0]) = -1 . biseq (0x56666070:[err:slen=-5<0], 0x56666088[c]:"bogus") = -1 . biseq (0x56666094[c]:"", 0x56666094[c]:"") = 1 . biseq (0x56666088[c]:"bogus", 0x56666094[c]:"") = 0 . biseq (0x56666094[c]:"", 0x56666088[c]:"bogus") = 0 . biseq (0x56666088[c]:"bogus", 0x56666088[c]:"bogus") = 1 . biseq (0x566cfa20:"bpgus", 0x56666088[c]:"bogus") = 0 . biseq (0x56666088[c]:"bogus", 0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0 . biseq (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x56666088[c]:"bogus") = 0 # failures: 0 TEST: int bstrcmp (const_bstring b0, const_bstring b1); . bstrcmp (NULL, NULL) = -32768 . bstrcmp (0x56666094[c]:"", NULL) = -32768 . bstrcmp (NULL, 0x56666094[c]:"") = -32768 . bstrcmp (0x56666088[c]:"bogus", NULL) = -32768 . bstrcmp (NULL, 0x56666088[c]:"bogus") = -32768 . bstrcmp (0x56666004:[err:data=NULL], 0x56666004:[err:data=NULL]) = -32768 . bstrcmp (0x56666070:[err:slen=-5<0], 0x56666070:[err:slen=-5<0]) = -32768 . bstrcmp (0x56666088[c]:"bogus", 0x56666070:[err:slen=-5<0]) = -32768 . bstrcmp (0x56666070:[err:slen=-5<0], 0x56666088[c]:"bogus") = -32768 . bstrcmp (0x56666094[c]:"", 0x56666094[c]:"") = 0 . bstrcmp (0x56666088[c]:"bogus", 0x56666094[c]:"") = 1 . bstrcmp (0x56666094[c]:"", 0x56666088[c]:"bogus") = -1 . bstrcmp (0x56666088[c]:"bogus", 0x56666088[c]:"bogus") = 0 . bstrcmp (0x566cfa20:"bpgus", 0x56666088[c]:"bogus") = 1 . bstrcmp (0x56666088[c]:"bogus", 0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 14 . bstrcmp (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x56666088[c]:"bogus") = -14 # failures: 0 TEST: int bstrncmp (const_bstring b0, const_bstring b1, int n); . bstrncmp (NULL, NULL, 0) = -32768 . bstrncmp (NULL, NULL, -1) = -32768 . bstrncmp (NULL, NULL, 1) = -32768 . bstrncmp (0x56666094[c]:"", NULL, 0) = -32768 . bstrncmp (NULL, 0x56666094[c]:"", 0) = -32768 . bstrncmp (0x56666094[c]:"", NULL, 1) = -32768 . bstrncmp (NULL, 0x56666094[c]:"", 1) = -32768 . bstrncmp (0x56666004:[err:data=NULL], 0x56666004:[err:data=NULL], 1) = -32768 . bstrncmp (0x56666070:[err:slen=-5<0], 0x56666070:[err:slen=-5<0], 1) = -32768 . bstrncmp (0x56666094[c]:"", 0x56666004:[err:data=NULL], 1) = -32768 . bstrncmp (0x56666094[c]:"", 0x56666070:[err:slen=-5<0], 1) = -32768 . bstrncmp (0x56666004:[err:data=NULL], 0x56666094[c]:"", 1) = -32768 . bstrncmp (0x56666070:[err:slen=-5<0], 0x56666094[c]:"", 1) = -32768 . bstrncmp (0x56666094[c]:"", 0x56666094[c]:"", -1) = 0 . bstrncmp (0x56666094[c]:"", 0x56666094[c]:"", 0) = 0 . bstrncmp (0x56666094[c]:"", 0x56666094[c]:"", 1) = 0 . bstrncmp (0x56666088[c]:"bogus", 0x56666088[c]:"bogus", -1) = 0 . bstrncmp (0x56666088[c]:"bogus", 0x56666088[c]:"bogus", 0) = 0 . bstrncmp (0x56666088[c]:"bogus", 0x56666088[c]:"bogus", 1) = 0 . bstrncmp (0x56666088[c]:"bogus", 0x56666088[c]:"bogus", 9) = 0 # failures: 0 TEST: int bdestroy (const_bstring b); . bdestroy (NULL) = -1 . bdestroy (0x566cf180[p]:"") = -1 . bdestroy (0x566cfa20[p]:"bogus") = -1 . bdestroy (0x566cf180:"") = 0 . bdestroy (0x566cfa20:"bogus") = 0 . bdestroy (0x56666094[c]:"") = -1 . bdestroy (0x56666094[c]:"") = -1 . bdestroy (0x56666088[c]:"bogus") = -1 . bdestroy (0x56666088[c]:"bogus") = -1 . bdestroy (0x56666004:[err:data=NULL]) = -1 . bdestroy (0x56666070:[err:slen=-5<0]) = -1 # failures: 0 TEST: int binstr (const_bstring s1, int pos, const_bstring s2); . binstr (NULL, 0, NULL) = -1 . binstr (0x56666094[c]:"", 0, NULL) = -1 . binstr (NULL, 0, 0x56666094[c]:"") = -1 . binstr (0x56666094[c]:"", 0, 0x56666004:[err:data=NULL]) = -1 . binstr (0x56666094[c]:"", 0, 0x56666070:[err:slen=-5<0]) = -1 . binstr (0x56666004:[err:data=NULL], 0, 0x56666094[c]:"") = -1 . binstr (0x56666070:[err:slen=-5<0], 0, 0x56666094[c]:"") = -1 . binstr (0x56666004:[err:data=NULL], 0, 0x56666070:[err:slen=-5<0]) = -1 . binstr (0x56666070:[err:slen=-5<0], 0, 0x56666004:[err:data=NULL]) = -1 . binstr (0x56666094[c]:"", 0, 0x56666094[c]:"") = 0 . binstr (0x56666094[c]:"", 1, 0x56666094[c]:"") = -1 . binstr (0x56666088[c]:"bogus", 1, 0x56666088[c]:"bogus") = -1 . binstr (0x56666088[c]:"bogus", 5, 0x56666094[c]:"") = 5 . binstr (0x56666088[c]:"bogus", -1, 0x56666088[c]:"bogus") = -1 . binstr (0x56666088[c]:"bogus", 0, 0x56666088[c]:"bogus") = 0 . binstr (0x56666088[c]:"bogus", 0, 0x566cfa20:"bogus") = 0 . binstr (0x56666088[c]:"bogus", 0, 0x566cfa20:"BOGUS") = -1 . binstr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x56666088[c]:"bogus") = 10 . binstr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x56666088[c]:"bogus") = -1 . binstr (0x566cf180:"sssssssssap", 0, 0x566cfa20:"sap") = 8 . binstr (0x566cf180:"sssssssssap", 3, 0x566cfa20:"sap") = 8 . binstr (0x566cf180:"ssssssssssap", 3, 0x566cfa20:"sap") = 9 . binstr (0x566cf180:"sssssssssap", 0, 0x566cfa20:"s") = 0 . binstr (0x566cf180:"sssssssssap", 3, 0x566cfa20:"s") = 3 . binstr (0x566cf180:"sssssssssap", 0, 0x566cfa20:"a") = 9 . binstr (0x566cf180:"sssssssssap", 5, 0x566cfa20:"a") = 9 . binstr (0x566cf180:"sasasasasap", 0, 0x566cfa20:"sap") = 8 . binstr (0x566cf180:"ssasasasasap", 0, 0x566cfa20:"sap") = 9 TEST: int binstrcaseless (const_bstring s1, int pos, const_bstring s2); . binstrcaseless (NULL, 0, NULL) = -1 . binstrcaseless (0x56666094[c]:"", 0, NULL) = -1 . binstrcaseless (NULL, 0, 0x56666094[c]:"") = -1 . binstrcaseless (0x56666094[c]:"", 0, 0x56666004:[err:data=NULL]) = -1 . binstrcaseless (0x56666094[c]:"", 0, 0x56666070:[err:slen=-5<0]) = -1 . binstrcaseless (0x56666004:[err:data=NULL], 0, 0x56666094[c]:"") = -1 . binstrcaseless (0x56666070:[err:slen=-5<0], 0, 0x56666094[c]:"") = -1 . binstrcaseless (0x56666004:[err:data=NULL], 0, 0x56666070:[err:slen=-5<0]) = -1 . binstrcaseless (0x56666070:[err:slen=-5<0], 0, 0x56666004:[err:data=NULL]) = -1 . binstrcaseless (0x56666094[c]:"", 0, 0x56666094[c]:"") = 0 . binstrcaseless (0x56666094[c]:"", 1, 0x56666094[c]:"") = -1 . binstrcaseless (0x56666088[c]:"bogus", 1, 0x56666088[c]:"bogus") = -1 . binstrcaseless (0x56666088[c]:"bogus", 5, 0x56666094[c]:"") = 5 . binstrcaseless (0x56666088[c]:"bogus", -1, 0x56666088[c]:"bogus") = -1 . binstrcaseless (0x56666088[c]:"bogus", 0, 0x56666088[c]:"bogus") = 0 . binstrcaseless (0x56666088[c]:"bogus", 0, 0x566cfa20:"bogus") = 0 . binstrcaseless (0x56666088[c]:"bogus", 0, 0x566cfa20:"BOGUS") = 0 . binstrcaseless (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x56666088[c]:"bogus") = 10 . binstrcaseless (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x56666088[c]:"bogus") = -1 # failures: 0 TEST: int binstrr (const_bstring s1, int pos, const_bstring s2); . binstrr (NULL, 0, NULL) = -1 . binstrr (0x56666094[c]:"", 0, NULL) = -1 . binstrr (NULL, 0, 0x56666094[c]:"") = -1 . binstrr (0x56666094[c]:"", 0, 0x56666004:[err:data=NULL]) = -1 . binstrr (0x56666094[c]:"", 0, 0x56666070:[err:slen=-5<0]) = -1 . binstrr (0x56666004:[err:data=NULL], 0, 0x56666094[c]:"") = -1 . binstrr (0x56666070:[err:slen=-5<0], 0, 0x56666094[c]:"") = -1 . binstrr (0x56666004:[err:data=NULL], 0, 0x56666070:[err:slen=-5<0]) = -1 . binstrr (0x56666070:[err:slen=-5<0], 0, 0x56666004:[err:data=NULL]) = -1 . binstrr (0x56666094[c]:"", 0, 0x56666094[c]:"") = 0 . binstrr (0x56666094[c]:"", 1, 0x56666094[c]:"") = -1 . binstrr (0x56666088[c]:"bogus", 1, 0x56666088[c]:"bogus") = 0 . binstrr (0x56666088[c]:"bogus", 5, 0x56666094[c]:"") = 5 . binstrr (0x56666088[c]:"bogus", -1, 0x56666088[c]:"bogus") = -1 . binstrr (0x56666088[c]:"bogus", 0, 0x56666088[c]:"bogus") = 0 . binstrr (0x56666088[c]:"bogus", 0, 0x566cfa20:"bogus") = 0 . binstrr (0x56666088[c]:"bogus", 0, 0x566cfa20:"BOGUS") = -1 . binstrr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x56666088[c]:"bogus") = -1 . binstrr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x56666088[c]:"bogus") = 10 TEST: int binstrrcaseless (const_bstring s1, int pos, const_bstring s2); . binstrrcaseless (NULL, 0, NULL) = -1 . binstrrcaseless (0x56666094[c]:"", 0, NULL) = -1 . binstrrcaseless (NULL, 0, 0x56666094[c]:"") = -1 . binstrrcaseless (0x56666094[c]:"", 0, 0x56666004:[err:data=NULL]) = -1 . binstrrcaseless (0x56666094[c]:"", 0, 0x56666070:[err:slen=-5<0]) = -1 . binstrrcaseless (0x56666004:[err:data=NULL], 0, 0x56666094[c]:"") = -1 . binstrrcaseless (0x56666070:[err:slen=-5<0], 0, 0x56666094[c]:"") = -1 . binstrrcaseless (0x56666004:[err:data=NULL], 0, 0x56666070:[err:slen=-5<0]) = -1 . binstrrcaseless (0x56666070:[err:slen=-5<0], 0, 0x56666004:[err:data=NULL]) = -1 . binstrrcaseless (0x56666094[c]:"", 0, 0x56666094[c]:"") = 0 . binstrrcaseless (0x56666094[c]:"", 1, 0x56666094[c]:"") = -1 . binstrrcaseless (0x56666088[c]:"bogus", 1, 0x56666088[c]:"bogus") = 0 . binstrrcaseless (0x56666088[c]:"bogus", 5, 0x56666094[c]:"") = 5 . binstrrcaseless (0x56666088[c]:"bogus", -1, 0x56666088[c]:"bogus") = -1 . binstrrcaseless (0x56666088[c]:"bogus", 0, 0x56666088[c]:"bogus") = 0 . binstrrcaseless (0x56666088[c]:"bogus", 0, 0x566cfa20:"bogus") = 0 . binstrrcaseless (0x56666088[c]:"bogus", 0, 0x566cfa20:"BOGUS") = 0 . binstrrcaseless (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x56666088[c]:"bogus") = -1 . binstrrcaseless (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x56666088[c]:"bogus") = 10 # failures: 0 TEST: int binchr (const_bstring s1, int pos, const_bstring s2); . binchr (NULL, 0, NULL) = -1 . binchr (0x56666094[c]:"", 0, NULL) = -1 . binchr (NULL, 0, 0x56666094[c]:"") = -1 . binchr (0x56666094[c]:"", 0, 0x56666004:[err:data=NULL]) = -1 . binchr (0x56666094[c]:"", 0, 0x56666070:[err:slen=-5<0]) = -1 . binchr (0x56666004:[err:data=NULL], 0, 0x56666094[c]:"") = -1 . binchr (0x56666070:[err:slen=-5<0], 0, 0x56666094[c]:"") = -1 . binchr (0x56666070:[err:slen=-5<0], 0, 0x56666004:[err:data=NULL]) = -1 . binchr (0x56666004:[err:data=NULL], 0, 0x56666070:[err:slen=-5<0]) = -1 . binchr (0x56666094[c]:"", 0, 0x56666094[c]:"") = -1 . binchr (0x56666088[c]:"bogus", 0, 0x56666094[c]:"") = -1 . binchr (0x56666088[c]:"bogus", 0, 0x56666088[c]:"bogus") = 0 . binchr (0x56666088[c]:"bogus", 0, 0xff82daa0[c]:"ooooo") = 1 . binchr (0x56666088[c]:"bogus", 0, 0x566cfa20:"bogus") = 0 . binchr (0x56666088[c]:"bogus", -1, 0x56666088[c]:"bogus") = -1 . binchr (0x56666088[c]:"bogus", 10, 0x56666088[c]:"bogus") = -1 . binchr (0x56666088[c]:"bogus", 1, 0x56666088[c]:"bogus") = 1 . binchr (0x56666094[c]:"", 0, 0x56666088[c]:"bogus") = -1 . binchr (0x56666058[c]:"xxxxx", 0, 0x56666088[c]:"bogus") = -1 . binchr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x56666088[c]:"bogus") = 3 . binchr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x56666088[c]:"bogus") = 10 # failures: 0 TEST: int binchrr (const_bstring s1, int pos, const_bstring s2); . binchrr (NULL, 0, NULL) = -1 . binchrr (0x56666094[c]:"", 0, NULL) = -1 . binchrr (NULL, 0, 0x56666094[c]:"") = -1 . binchrr (0x56666094[c]:"", 0, 0x56666094[c]:"") = -1 . binchrr (0x56666088[c]:"bogus", 0, 0x56666094[c]:"") = -1 . binchrr (0x56666094[c]:"", 0, 0x56666004:[err:data=NULL]) = -1 . binchrr (0x56666094[c]:"", 0, 0x56666070:[err:slen=-5<0]) = -1 . binchrr (0x56666004:[err:data=NULL], 0, 0x56666094[c]:"") = -1 . binchrr (0x56666070:[err:slen=-5<0], 0, 0x56666094[c]:"") = -1 . binchrr (0x56666070:[err:slen=-5<0], 0, 0x56666004:[err:data=NULL]) = -1 . binchrr (0x56666004:[err:data=NULL], 0, 0x56666070:[err:slen=-5<0]) = -1 . binchrr (0x56666088[c]:"bogus", 0, 0x56666088[c]:"bogus") = 0 . binchrr (0x56666088[c]:"bogus", 0, 0x566cfa20:"bogus") = 0 . binchrr (0x56666088[c]:"bogus", -1, 0x56666088[c]:"bogus") = -1 . binchrr (0x56666088[c]:"bogus", 5, 0x56666088[c]:"bogus") = 4 . binchrr (0x56666088[c]:"bogus", 4, 0x56666088[c]:"bogus") = 4 . binchrr (0x56666088[c]:"bogus", 1, 0x56666088[c]:"bogus") = 1 . binchrr (0x56666094[c]:"", 0, 0x56666088[c]:"bogus") = -1 . binchrr (0x56666058[c]:"xxxxx", 4, 0x56666088[c]:"bogus") = -1 . binchrr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x56666088[c]:"bogus") = -1 . binchrr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x56666088[c]:"bogus") = 10 # failures: 0 TEST: int bsetstr (bstring b0, int pos, const_bstring b1, unsigned char fill); . bsetstr (NULL, 0, NULL, 3F) = -1 . bsetstr (NULL, 0, 0x56666094[c]:"", 3F) = -1 . bsetstr (0x56666004:[err:data=NULL], 0, NULL, 3F) = -1 . bsetstr (0x56666004:[err:data=NULL], 0, 0x56666004:[err:data=NULL], 3F) = -1 . bsetstr (0x56666094[c]:"", 0, 0x56666004:[err:data=NULL], 3F) = -1 . bsetstr (0x56666004:[err:data=NULL], 0, 0x56666094[c]:"", 3F) = -1 . bsetstr (0x56666070:[err:slen=-5<0], 0, NULL, 3F) = -1 . bsetstr (0x56666070:[err:slen=-5<0], 0, 0x56666070:[err:slen=-5<0], 3F) = -1 . bsetstr (0x56666094[c]:"", 0, 0x56666070:[err:slen=-5<0], 3F) = -1 . bsetstr (0x56666070:[err:slen=-5<0], 0, 0x56666094[c]:"", 3F) = -1 . bsetstr (0x566cfa20[p]:"", 0, 0x56666094[c]:"", 3F) = 0x566cfa20[p]:"" . bsetstr (0x566cfa20:"", 0, 0x56666094[c]:"", 3F) = 0x566cfa20:"" . bsetstr (0x566cfa20[p]:"", 5, 0x56666094[c]:"", 3F) = 0x566cfa20[p]:"" . bsetstr (0x566cfa20:"", 5, 0x56666094[c]:"", 3F) = 0x566cfa20:"?????" . bsetstr (0x566cfa20[p]:"", 5, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"" . bsetstr (0x566cfa20:"", 5, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"?????bogus" . bsetstr (0x566cfa20[p]:"bogus", 0, 0x56666094[c]:"", 3F) = 0x566cfa20[p]:"bogus" . bsetstr (0x566cfa20:"bogus", 0, 0x56666094[c]:"", 3F) = 0x566cfa20:"bogus" . bsetstr (0x566cfa20[p]:"", 0, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"" . bsetstr (0x566cfa20:"", 0, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"bogus" . bsetstr (0x566cfa20[p]:"bogus", 0, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"bogus" . bsetstr (0x566cfa20:"bogus", 0, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"bogus" . bsetstr (0x566cfa20[p]:"bogus", -1, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"bogus" . bsetstr (0x566cfa20:"bogus", -1, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"bogus" . bsetstr (0x566cfa20[p]:"bogus", 2, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"bogus" . bsetstr (0x566cfa20:"bogus", 2, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"bobogus" . bsetstr (0x566cfa20[p]:"bogus", 6, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"bogus" . bsetstr (0x566cfa20:"bogus", 6, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"bogus?bogus" . bsetstr (0x56666088[c]:"bogus", 6, NULL, 3F) = -1 # failures: 0 TEST: int binsert (bstring b0, int pos, const_bstring b1, unsigned char fill); . binsert (NULL, 0, NULL, 3F) = -1 . binsert (NULL, 0, 0x56666094[c]:"", 3F) = -1 . binsert (0x56666004:[err:data=NULL], 0, NULL, 3F) = -1 . binsert (0x56666004:[err:data=NULL], 0, 0x56666004:[err:data=NULL], 3F) = -1 . binsert (0x56666094[c]:"", 0, 0x56666004:[err:data=NULL], 3F) = -1 . binsert (0x56666004:[err:data=NULL], 0, 0x56666094[c]:"", 3F) = -1 . binsert (0x56666070:[err:slen=-5<0], 0, NULL, 3F) = -1 . binsert (0x56666070:[err:slen=-5<0], 0, 0x56666070:[err:slen=-5<0], 3F) = -1 . binsert (0x56666094[c]:"", 0, 0x56666070:[err:slen=-5<0], 3F) = -1 . binsert (0x56666070:[err:slen=-5<0], 0, 0x56666094[c]:"", 3F) = -1 . binsert (0x566cfa20[p]:"", 0, 0x56666094[c]:"", 3F) = 0x566cfa20[p]:"" . binsert (0x566cfa20:"", 0, 0x56666094[c]:"", 3F) = 0x566cfa20:"" . binsert (0x566cfa20[p]:"", 5, 0x56666094[c]:"", 3F) = 0x566cfa20[p]:"" . binsert (0x566cfa20:"", 5, 0x56666094[c]:"", 3F) = 0x566cfa20:"?????" . binsert (0x566cfa20[p]:"", 5, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"" . binsert (0x566cfa20:"", 5, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"?????bogus" . binsert (0x566cfa20[p]:"bogus", 0, 0x56666094[c]:"", 3F) = 0x566cfa20[p]:"bogus" . binsert (0x566cfa20:"bogus", 0, 0x56666094[c]:"", 3F) = 0x566cfa20:"bogus" . binsert (0x566cfa20[p]:"", 0, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"" . binsert (0x566cfa20:"", 0, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"bogus" . binsert (0x566cfa20[p]:"bogus", 0, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"bogus" . binsert (0x566cfa20:"bogus", 0, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"bogusbogus" . binsert (0x566cfa20[p]:"bogus", -1, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"bogus" . binsert (0x566cfa20:"bogus", -1, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"bogus" . binsert (0x566cfa20[p]:"bogus", 2, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"bogus" . binsert (0x566cfa20:"bogus", 2, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"bobogusgus" . binsert (0x566cfa20[p]:"bogus", 6, 0x56666088[c]:"bogus", 3F) = 0x566cfa20[p]:"bogus" . binsert (0x566cfa20:"bogus", 6, 0x56666088[c]:"bogus", 3F) = 0x566cfa20:"bogus?bogus" . binsert (0x56666088[c]:"bogus", 6, NULL, 3F) = -1 . binsert (0x566cfa20:"aaaaabbbbb", 2, 0xff82daa0[c]:"abbbbb", '?') = 0x566cfa20:"aaabbbaaab" (Alias test) # failures: 0 TEST: int bdelete (bstring s1, int pos, int len); . bdelete (NULL, 0, 0) = -1 . bdelete (0x56666004:[err:data=NULL], 0, 0) = -1 . bdelete (0x56666070:[err:slen=-5<0], 0, 0) = -1 . bdelete (0x566cfa30[p]:"", 0, 0) = 0x566cfa30[p]:"" . bdelete (0x566cfa30:"", 0, 0) = 0x566cfa30:"" . bdelete (0x566cfa30[p]:"bogus", 1, 3) = 0x566cfa30[p]:"bogus" . bdelete (0x566cfa30:"bogus", 1, 3) = 0x566cfa30:"bs" . bdelete (0x566cfa30[p]:"bogus", -1, 3) = 0x566cfa30[p]:"bogus" . bdelete (0x566cfa30:"bogus", -1, 3) = 0x566cfa30:"gus" . bdelete (0x566cfa30[p]:"bogus", 1, -3) = 0x566cfa30[p]:"bogus" . bdelete (0x566cfa30:"bogus", 1, -3) = 0x566cfa30:"bogus" . bdelete (0x566cfa30[p]:"bogus", 3, 9) = 0x566cfa30[p]:"bogus" . bdelete (0x566cfa30:"bogus", 3, 9) = 0x566cfa30:"bog" . bdelete (0x566cfa30[p]:"bogus", 3, 1) = 0x566cfa30[p]:"bogus" . bdelete (0x566cfa30:"bogus", 3, 1) = 0x566cfa30:"bogs" . bdelete (0x566cfa30[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 4, 300) = 0x566cfa30[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bdelete (0x566cfa30:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 4, 300) = 0x566cfa30:"This" # failures: 0 TEST: int balloc (bstring s, int len); . balloc (NULL, 2) = -1 . balloc (0x56666004:[err:data=NULL], 2) = -1 . balloc (0x56666070:[err:slen=-5<0], 2) = -1 . balloc (0x566cfa30:"test", 2) = 0 . balloc (0x566cfa30:"test", -1) = -1 . balloc (0x566cfa30:"test", 9) = 0 . balloc (0x566cfa30:"test", 2) = 0 . balloc (0x566cfa30[p]:"test", 4) = -1 . balloc (0x566cfa30:"test", 2) = 0 . balloc (0x56666094[c]:"", 9) = -1 # failures: 0 TEST: int ballocmin (bstring s, int len); . ballocmin (NULL, 2) = [1338] -1 . ballocmin (0x56666004:[err:data=NULL], 2) = [1338] -1 . ballocmin (0x56666070:[err:slen=-5<0], 2) = [1338] -1 . ballocmin (0x566cfa30:"test", 2) = [1338] 0 . ballocmin (0x566cfa30:"test", -1) = [1338] -1 . ballocmin (0x566cfa30:"test", 9) = [1338] 0 . ballocmin (0x566cfa30:"test", 2) = [1338] 0 . ballocmin (0x566cfa30:"test", 9) = [1338] 0 . ballocmin (0x566cfa30[p]:"test", 4) = [1338] -1 . ballocmin (0x566cfa30:"test", 2) = [1338] 0 . ballocmin (0x56666094[c]:"", 9) = [1338] -1 # failures: 0 TEST: int bpattern (bstring b, int len); . bpattern (NULL, 0) = -1 . bpattern (NULL, 5) = -1 . bpattern (NULL, -5) = -1 . bpattern (0x56666004:[err:data=NULL], 5) = -1 . bpattern (0x56666070:[err:slen=-5<0], 5) = -1 . bpattern (0x566cfa30:"", 0) = 0x566cfa30:"" . bpattern (0x566cfa40:"", 10) = 0x566cfa40:"" . bpattern (0x566cf630:"", -1) = 0x566cf630:"" . bpattern (0x566d0910:"bogus", 0) = 0x566d0910:"" . bpattern (0x566d0930:"bogus", 12) = 0x566d0930:"bogusbogusbo" . bpattern (0x566d0960:"bogus", -1) = 0x566d0960:"bogus" # failures: 0 TEST: bstring bformat (const char * fmt, ...); . bformat (NULL, 1, 2) = NULL . bformat ("%d %s", 1, "xy") = 0x566d0980:"1 xy" . bformat ("%d %s(%s)", 6, 0x566d0990:"1 xy", 0x56666088[c]:"bogus") = 0x566d0980:"6 1 xy(bogus)" . bformat ("%s%s%s%s%s%s%s%s", ...) ... # failures: 0 TEST: int bformata (bstring b, const char * fmt, ...); . bformata (0x566d0980:"", NULL, 1, 2) = -1 . bformata (0x56666004:[err:data=NULL], "%d %d", 1, 2) = -1 . bformata (0x566d0980:"", "%d %d", 1, 2) = 0x566d0980:"1 2" . bformata ("x", "%s%s%s%s%s%s%s%s", ...) ... # failures: 0 TEST: int bassignformat (bstring b, const char * fmt, ...); . bassignformat (0x566d0980:"Initial", NULL, 1, 2) = -1 . bassignformat (0x56666004:[err:data=NULL], "%d %d", 1, 2) = -1 . bassignformat (0x566d0980:"Initial", "%d %d", 1, 2) = 0x566d0980:"1 2" . bassignformat ("x", "%s%s%s%s%s%s%s%s", ...) ... # failures: 0 TEST: struct bstrList * bsplit (const_bstring str, unsigned char splitChar); . bsplit (NULL, '?') = (nil) . bsplit (0x56666004:[err:data=NULL], '?') = (nil) . bsplit (0x56666070:[err:slen=-5<0], '?') = (nil) . bsplit (0x56666094[c]:"", '?') = {0x566d0990:"":<1>} . bsplit (0x56666088[c]:"bogus", 'o') = {0x566d0990:"b", 0x566d0860:"gus":<2>} . bsplit (0x56666088[c]:"bogus", 's') = {0x566d0860:"bogu", 0x566d0990:"":<2>} . bsplit (0x56666088[c]:"bogus", 'b') = {0x566d0990:"", 0x566d0860:"ogus":<2>} . bsplit (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 'o') = {0x566d0860:"This is a b", 0x566d0870:"gus but reas", 0x566d0990:"nably l", 0x566d09a0:"ng string. Just l", 0x566cfb00:"ng en", 0x566cfb20:"ugh t", 0x566d09f0:" cause s", 0x566d0a00:"me mall", 0x566d0a60:"cing.":<9>} . bsplit (0xff82da88[c]:",,,,", ',') = {0x566cfb10:"", 0x566d0990:"", 0x566d0860:"", 0x566d0980:"", 0x566cfb20:"":<5>} TEST: struct bstrList * bsplitstr (bstring str, const_bstring splitStr); . bsplitstr (NULL, NULL) = (nil) . bsplitstr (0x56666004:[err:data=NULL], 0x56666094[c]:"") = (nil) . bsplitstr (0x56666070:[err:slen=-5<0], 0x56666094[c]:"") = (nil) . bsplitstr (0x56666088[c]:"bogus", 0x56666094[c]:"") = {0x566d0870:"b", 0x566d09a0:"o", 0x566d0a70:"g", 0x566cfb00:"u", 0x566d0860:"s":<5>} . bsplitstr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da70[c]:"is") = {0x566d0a00:"Th", 0x566cfb10:" ", 0x566d09f0:" a bogus but reasonably long string. Just long enough to cause some mallocing.":<3>} . bsplitstr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da7c[c]:"ng") = {0x566d09f0:"This is a bogus but reasonably lo", 0x566cfb10:" stri", 0x566d0a00:". Just lo", 0x566d0870:" enough to cause some malloci", 0x566cfb20:".":<5>} # failures: 0 TEST: extern struct bstrList * bsplits (const_bstring str, const_bstring splitStr); . bsplits (NULL, 0xff82da58[c]:"o") = (nil) . bsplits (0xff82da58[c]:"o", NULL) = (nil) . bsplits (0x56666094[c]:"", 0xff82da58[c]:"o") {0x566d09e0:"":<1>} . bsplits (0x56666094[c]:"", 0xff82da88[c]:"uo") {0x566d09e0:"":<1>} . bsplits (0x56666088[c]:"bogus", 0x56666094[c]:"") {0x566d09e0:"bogus":<1>} . bsplits (0x56666088[c]:"bogus", 0xff82da58[c]:"o") {0x566d09e0:"b", 0x566d09a0:"gus":<2>} . bsplits (0x56666088[c]:"bogus", 0xff82da64[c]:"s") {0x566d09a0:"bogu", 0x566d09e0:"":<2>} . bsplits (0x56666088[c]:"bogus", 0xff82da70[c]:"b") {0x566d09e0:"", 0x566d09a0:"ogus":<2>} . bsplits (0x56666088[c]:"bogus", 0xff82da7c[c]:"bs") {0x566d09a0:"", 0x566d09e0:"ogu", 0x566d0990:"":<3>} . bsplits (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da58[c]:"o") {0x566d0990:"This is a b", 0x566cfb00:"gus but reas", 0x566d09e0:"nably l", 0x566d0980:"ng string. Just l", 0x566d09a0:"ng en", 0x566d0a70:"ugh t", 0x566d0a80:" cause s", 0x566d0b70:"me mall", 0x566d0c20:"cing.":<9>} . bsplits (0x56666088[c]:"bogus", 0xff82da88[c]:"uo") {0x566d09a0:"b", 0x566d0980:"g", 0x566cfb00:"s":<3>} # failures: 0 TEST: bstream integrated test . bsbufflength (bs, 0) -> 1024 . bspeek () -> 0x566d0e50:"" . bsreadln ('?') -> 0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsunread (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") . bspeek () -> 0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('?') -> 0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('.') -> 0x566d0e50:"This is a bogus but reasonably long string." . bsunread (0x566d0e50:"This is a bogus but reasonably long string.") . bspeek () -> 0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('.') -> 0x566d0e50:"This is a bogus but reasonably long string." . bssplitscb (' ') -> 0x566d0e50:"This|is|a|bogus|but|reasonably|long|string.||Just|long|enough|to|cause|some|mallocing." # failures: 0 TEST: int bninchr (const_bstring s1, int pos, const_bstring s2); . bninchr (NULL, 0, NULL) = -1 . bninchr (0x56666094[c]:"", 0, NULL) = -1 . bninchr (NULL, 0, 0x56666094[c]:"") = -1 . bninchr (0x56666088[c]:"bogus", 3, 0x56666004:[err:data=NULL]) = -1 . bninchr (0x56666004:[err:data=NULL], 3, 0x56666088[c]:"bogus") = -1 . bninchr (0x56666094[c]:"", 0, 0x56666094[c]:"") = -1 . bninchr (0x56666088[c]:"bogus", 0, 0x56666094[c]:"") = -1 . bninchr (0x56666088[c]:"bogus", 0, 0x56666088[c]:"bogus") = -1 . bninchr (0x56666088[c]:"bogus", 1, 0x56666088[c]:"bogus") = -1 . bninchr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3, 0x56666088[c]:"bogus") = 4 . bninchr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3, 0x566d0e50:"bogus") = 4 . bninchr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", -1, 0x56666088[c]:"bogus") = -1 . bninchr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 1000, 0x56666088[c]:"bogus") = -1 . bninchr (0x56666058[c]:"xxxxx", 0, 0x56666088[c]:"bogus") = 0 . bninchr (0x56666058[c]:"xxxxx", 1, 0x56666088[c]:"bogus") = 1 . bninchr (0x56666094[c]:"", 0, 0x56666088[c]:"bogus") = -1 . bninchr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x56666088[c]:"bogus") = 0 . bninchr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x56666088[c]:"bogus") = 15 # failures: 0 TEST: int bninchrr (const_bstring s1, int pos, const_bstring s2); . bninchrr (NULL, 0, NULL) = -1 . bninchrr (0x56666094[c]:"", 0, NULL) = -1 . bninchrr (NULL, 0, 0x56666094[c]:"") = -1 . bninchrr (0x56666094[c]:"", 0, 0x56666094[c]:"") = -1 . bninchrr (0x56666088[c]:"bogus", 0, 0x56666094[c]:"") = -1 . bninchrr (0x56666088[c]:"bogus", 0, 0x56666004:[err:data=NULL]) = -1 . bninchrr (0x56666004:[err:data=NULL], 0, 0x56666088[c]:"bogus") = -1 . bninchrr (0x56666088[c]:"bogus", 0, 0x56666088[c]:"bogus") = -1 . bninchrr (0x56666088[c]:"bogus", 4, 0x56666088[c]:"bogus") = -1 . bninchrr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x56666088[c]:"bogus") = 9 . bninchrr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x566d0e50:"bogus") = 9 . bninchrr (0x56666058[c]:"xxxxx", 4, 0x56666088[c]:"bogus") = 4 . bninchrr (0x56666094[c]:"", 0, 0x56666088[c]:"bogus") = -1 # failures: 0 TEST: int breplace (bstring b0, int pos, int len, const_bstring b1, unsigned char fill); . breplace (NULL, 0, 0, NULL, 3F) = -1 . breplace (NULL, 0, 0, 0x56666094[c]:"", 3F) = -1 . breplace (0x56666004:[err:data=NULL], 1, 3, 0x56666088[c]:"bogus", 3F) = -1 . breplace (0x56666088[c]:"bogus", 1, 3, 0x56666004:[err:data=NULL], 3F) = -1 . breplace (0x566d0e50[p]:"", 0, 0, 0x56666094[c]:"", 3F) = 0x566d0e50[p]:"" . breplace (0x566d0e50:"", 0, 0, 0x56666094[c]:"", 3F) = 0x566d0e50:"" . breplace (0x566d0e50[p]:"", 5, 0, 0x56666094[c]:"", 3F) = 0x566d0e50[p]:"" . breplace (0x566d0e50:"", 5, 0, 0x56666094[c]:"", 3F) = 0x566d0e50:"?????" . breplace (0x566d0e50[p]:"", 5, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50[p]:"" . breplace (0x566d0e50:"", 5, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50:"?????bogus" . breplace (0x566d0e50[p]:"bogus", 0, 0, 0x56666094[c]:"", 3F) = 0x566d0e50[p]:"bogus" . breplace (0x566d0e50:"bogus", 0, 0, 0x56666094[c]:"", 3F) = 0x566d0e50:"bogus" . breplace (0x566d0e50[p]:"", 0, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50[p]:"" . breplace (0x566d0e50:"", 0, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50:"bogus" . breplace (0x566d0e50[p]:"bogus", 0, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50[p]:"bogus" . breplace (0x566d0e50:"bogus", 0, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50:"bogusbogus" . breplace (0x566d0e50[p]:"bogus", 1, 3, 0x56666088[c]:"bogus", 3F) = 0x566d0e50[p]:"bogus" . breplace (0x566d0e50:"bogus", 1, 3, 0x56666088[c]:"bogus", 3F) = 0x566d0e50:"bboguss" . breplace (0x566d0e50[p]:"bogus", 3, 8, 0x56666088[c]:"bogus", 3F) = 0x566d0e50[p]:"bogus" . breplace (0x566d0e50:"bogus", 3, 8, 0x56666088[c]:"bogus", 3F) = 0x566d0e50:"bogbogus" . breplace (0x566d0e50[p]:"bogus", -1, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50[p]:"bogus" . breplace (0x566d0e50:"bogus", -1, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50:"bogus" . breplace (0x566d0e50[p]:"bogus", 2, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50[p]:"bogus" . breplace (0x566d0e50:"bogus", 2, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50:"bobogusgus" . breplace (0x566d0e50[p]:"bogus", 6, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50[p]:"bogus" . breplace (0x566d0e50:"bogus", 6, 0, 0x56666088[c]:"bogus", 3F) = 0x566d0e50:"bogus?bogus" . breplace (0x56666088[c]:"bogus", 6, 0, NULL, 3F) = -1 # failures: 0 TEST: int bassign (bstring b0, const_bstring b1); . bassign (NULL, NULL) = -1 . bassign (NULL, 0x56666094[c]:"") = -1 . bassign (0x56666094[c]:"", NULL) = -1 . bassign (0x56666004:[err:data=NULL], 0x56666094[c]:"") = -1 . bassign (0x56666070:[err:slen=-5<0], 0x56666094[c]:"") = -1 . bassign (0x56666094[c]:"", 0x56666004:[err:data=NULL]) = -1 . bassign (0x56666094[c]:"", 0x56666070:[err:slen=-5<0]) = -1 . bassign (0x566d0e50[p]:"", 0x56666094[c]:"") = 0x566d0e50[p]:"" . bassign (0x566d0e50:"", 0x56666094[c]:"") = 0x566d0e50:"" . bassign (0x566d0e50[p]:"", 0x56666088[c]:"bogus") = 0x566d0e50[p]:"" . bassign (0x566d0e50:"", 0x56666088[c]:"bogus") = 0x566d0e50:"bogus" . bassign (0x566d0e50[p]:"bogus", 0x56666094[c]:"") = 0x566d0e50[p]:"bogus" . bassign (0x566d0e50:"bogus", 0x56666094[c]:"") = 0x566d0e50:"" . bassign (0x566d0e50[p]:"bogus", 0x56666088[c]:"bogus") = 0x566d0e50[p]:"bogus" . bassign (0x566d0e50:"bogus", 0x56666088[c]:"bogus") = 0x566d0e50:"bogus" # failures: 0 TEST: int bstrchr (const_bstring s1, int c); . bstrchr (NULL, 0) = -1 . bstrchr (0x56666004:[err:data=NULL], 98) = -1 . bstrchr (0x56666070:[err:slen=-5<0], 115) = -1 . bstrchr (0x56666094[c]:"", 0) = -1 . bstrchr (0x56666088[c]:"bogus", 0) = -1 . bstrchr (0x56666088[c]:"bogus", 98) = 0 . bstrchr (0x56666088[c]:"bogus", 115) = 4 . bstrchr (0x56666088[c]:"bogus", 113) = -1 . bstrchr (0x56666058[c]:"xxxxx", 0) = -1 . bstrchr (0x56666058[c]:"xxxxx", 98) = -1 . bstrchr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 105) = 2 TEST: int bstrrchr (const_bstring s1, int c); . bstrrchr (NULL, 0) = -1 . bstrrchr (0x56666004:[err:data=NULL], 98) = -1 . bstrrchr (0x56666070:[err:slen=-5<0], 115) = -1 . bstrrchr (0x56666094[c]:"", 0) = -1 . bstrrchr (0x56666088[c]:"bogus", 0) = -1 . bstrrchr (0x56666088[c]:"bogus", 98) = 0 . bstrrchr (0x56666088[c]:"bogus", 115) = 4 . bstrrchr (0x56666088[c]:"bogus", 113) = -1 . bstrrchr (0x56666058[c]:"xxxxx", 0) = -1 . bstrrchr (0x56666058[c]:"xxxxx", 98) = -1 . bstrrchr (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 105) = 82 TEST: int bstrchrp (const_bstring s1, int c, int pos); . bstrchrp (NULL, 0, 0) = -1 . bstrchrp (0x56666004:[err:data=NULL], 98, 0) = -1 . bstrchrp (0x56666070:[err:slen=-5<0], 115, 0) = -1 . bstrchrp (0x56666088[c]:"bogus", 98, -1) = -1 . bstrchrp (0x56666088[c]:"bogus", 98, 5) = -1 . bstrchrp (0x56666094[c]:"", 0, 0) = -1 . bstrchrp (0x56666088[c]:"bogus", 0, 0) = -1 . bstrchrp (0x56666088[c]:"bogus", 98, 0) = 0 . bstrchrp (0x56666088[c]:"bogus", 98, 1) = -1 . bstrchrp (0x56666088[c]:"bogus", 115, 0) = 4 . bstrchrp (0x56666088[c]:"bogus", 113, 0) = -1 TEST: int bstrrchrp (const_bstring s1, int c, int pos); . bstrrchrp (NULL, 0, 0) = -1 . bstrrchrp (0x56666004:[err:data=NULL], 98, 0) = -1 . bstrrchrp (0x56666070:[err:slen=-5<0], 115, 0) = -1 . bstrrchrp (0x56666088[c]:"bogus", 98, -1) = -1 . bstrrchrp (0x56666088[c]:"bogus", 98, 5) = -1 . bstrrchrp (0x56666094[c]:"", 0, 0) = -1 . bstrrchrp (0x56666088[c]:"bogus", 0, 0) = -1 . bstrrchrp (0x56666088[c]:"bogus", 98, 0) = 0 . bstrrchrp (0x56666088[c]:"bogus", 98, 4) = 0 . bstrrchrp (0x56666088[c]:"bogus", 115, 4) = 4 . bstrrchrp (0x56666088[c]:"bogus", 115, 0) = -1 # failures: 0 TEST: int bcatcstr (bstring b0, const char * s); . bcatcstr (NULL, (nil)) = -1 . bcatcstr (NULL, 0x56660ed0) = -1 . bcatcstr (0x566d0e50[p]:"", (nil)) = 0x566d0e50[p]:"" . bcatcstr (0x566d0e50:"", (nil)) = 0x566d0e50:"" . bcatcstr (0x56666004:[err:data=NULL], 0x566615e1) = -1 . bcatcstr (0x56666070:[err:slen=-5<0], 0x566615e1) = -1 . bcatcstr (0x566d0e50[p]:"", 0x56660ed0) = 0x566d0e50[p]:"" . bcatcstr (0x566d0e50:"", 0x56660ed0) = 0x566d0e50:"" . bcatcstr (0x566d0e50[p]:"", 0x566615e1) = 0x566d0e50[p]:"" . bcatcstr (0x566d0e50:"", 0x566615e1) = 0x566d0e50:"bogus" . bcatcstr (0x566d0e50[p]:"bogus", 0x56660ed0) = 0x566d0e50[p]:"bogus" . bcatcstr (0x566d0e50:"bogus", 0x56660ed0) = 0x566d0e50:"bogus" . bcatcstr (0x566d0e50[p]:"bogus", 0x566615e1) = 0x566d0e50[p]:"bogus" . bcatcstr (0x566d0e50:"bogus", 0x566615e1) = 0x566d0e50:"bogusbogus" # failures: 0 TEST: int bcatblk (bstring b0, const char * s); . bcatblk (NULL, (nil), 0) = -1 . bcatblk (NULL, 0x56660ed0, 0) = -1 . bcatblk (0x566d0e50[p]:"", (nil)) = 0x566d0e50[p]:"" . bcatblk (0x566d0e50:"", (nil)) = 0x566d0e50:"" . bcatblk (0x566d0e50[p]:"", (nil)) = 0x566d0e50[p]:"" . bcatblk (0x566d0e50:"", (nil)) = 0x566d0e50:"" . bcatblk (0x56666004:[err:data=NULL], (nil), 0) = -1 . bcatblk (0x56666070:[err:slen=-5<0], (nil), 0) = -1 . bcatblk (0x566d0e50[p]:"", 0x56660ed0) = 0x566d0e50[p]:"" . bcatblk (0x566d0e50:"", 0x56660ed0) = 0x566d0e50:"" . bcatblk (0x566d0e50[p]:"", 0x56660ed0) = 0x566d0e50[p]:"" . bcatblk (0x566d0e50:"", 0x56660ed0) = 0x566d0e50:"" . bcatblk (0x566d0e50[p]:"", 0x566615e1) = 0x566d0e50[p]:"" . bcatblk (0x566d0e50:"", 0x566615e1) = 0x566d0e50:"bogus" . bcatblk (0x566d0e50[p]:"bogus", 0x56660ed0) = 0x566d0e50[p]:"bogus" . bcatblk (0x566d0e50:"bogus", 0x56660ed0) = 0x566d0e50:"bogus" . bcatblk (0x566d0e50[p]:"bogus", 0x566615e1) = 0x566d0e50[p]:"bogus" . bcatblk (0x566d0e50:"bogus", 0x566615e1) = 0x566d0e50:"bogusbogus" . bcatblk (0x566d0e50[p]:"bogus", 0x566615e1) = 0x566d0e50[p]:"bogus" . bcatblk (0x566d0e50:"bogus", 0x566615e1) = 0x566d0e50:"bogus" # failures: 0 TEST: int bfindreplace (bstring b, const_bstring f, const_bstring r, int pos); . bfindreplace (NULL, NULL, NULL, 0) = -1 . bfindreplace (0x56666088[c]:"bogus", NULL, 0xff82da40[c]:"weird", 0) = -1 . bfindreplace (0x56666088[c]:"bogus", 0xff82da4c[c]:"s", NULL, 0) = -1 . bfindreplace (0x56666004:[err:data=NULL], 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) = -1 . bfindreplace (0x56666070:[err:slen=-5<0], 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) = -1 . bfindreplace (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x56666088[c]:"bogus", 0xff82da34[c]:"funny", 0) = -1 . bfindreplace (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x56666088[c]:"bogus", 0xff82da34[c]:"funny", 0) -> 0x566d0e50:"This is a funny but reasonably long string. Just long enough to cause some mallocing." . bfindreplace (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) = -1 . bfindreplace (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) -> 0x566d0e50:"Thiweird iweird a boguweird but reaweirdonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplace (0x566d0e50[p]:"bogus", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) = -1 . bfindreplace (0x566d0e50:"bogus", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) -> 0x566d0e50:"boguweird" . bfindreplace (0x566d0e50[p]:"bogus", 0xff82da94[c]:"S", 0xff82da40[c]:"weird", 0) = -1 . bfindreplace (0x566d0e50:"bogus", 0xff82da94[c]:"S", 0xff82da40[c]:"weird", 0) -> 0x566d0e50:"bogus" . bfindreplace (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 27) = -1 . bfindreplace (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 27) -> 0x566d0e50:"This is a bogus but reasonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplace (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da58[c]:"long", 0xff82da64[c]:"big", 0) = -1 . bfindreplace (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da58[c]:"long", 0xff82da64[c]:"big", 0) -> 0x566d0e50:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplace (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82daa0[c]:"LONG", 0xff82da64[c]:"big", 0) = -1 . bfindreplace (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82daa0[c]:"LONG", 0xff82da64[c]:"big", 0) -> 0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bfindreplace (0x566d0e50[p]:"sstsst", 0xff82da4c[c]:"s", 0xff82da70[c]:"ss", 0) = -1 . bfindreplace (0x566d0e50:"sstsst", 0xff82da4c[c]:"s", 0xff82da70[c]:"ss", 0) -> 0x566d0e50:"sssstsssst" . bfindreplace (0x566d0e50[p]:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0xff82da4c[c]:"s", 0xff82da70[c]:"ss", 0) = -1 . bfindreplace (0x566d0e50:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0xff82da4c[c]:"s", 0xff82da70[c]:"ss", 0) -> 0x566d0e50:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx" TEST: int bfindreplacecaseless (bstring b, const_bstring f, const_bstring r, int pos); . bfindreplacecaseless (NULL, NULL, NULL, 0) = -1 . bfindreplacecaseless (0x56666088[c]:"bogus", NULL, 0xff82da40[c]:"weird", 0) = -1 . bfindreplacecaseless (0x56666088[c]:"bogus", 0xff82da4c[c]:"s", NULL, 0) = -1 . bfindreplacecaseless (0x56666004:[err:data=NULL], 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) = -1 . bfindreplacecaseless (0x56666070:[err:slen=-5<0], 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) = -1 . bfindreplacecaseless (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x56666088[c]:"bogus", 0xff82da34[c]:"funny", 0) = -1 . bfindreplacecaseless (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x56666088[c]:"bogus", 0xff82da34[c]:"funny", 0) -> 0x566d0e50:"This is a funny but reasonably long string. Just long enough to cause some mallocing." . bfindreplacecaseless (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) = -1 . bfindreplacecaseless (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) -> 0x566d0e50:"Thiweird iweird a boguweird but reaweirdonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplacecaseless (0x566d0e50[p]:"bogus", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) = -1 . bfindreplacecaseless (0x566d0e50:"bogus", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 0) -> 0x566d0e50:"boguweird" . bfindreplacecaseless (0x566d0e50[p]:"bogus", 0xff82da94[c]:"S", 0xff82da40[c]:"weird", 0) = -1 . bfindreplacecaseless (0x566d0e50:"bogus", 0xff82da94[c]:"S", 0xff82da40[c]:"weird", 0) -> 0x566d0e50:"boguweird" . bfindreplacecaseless (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 27) = -1 . bfindreplacecaseless (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da4c[c]:"s", 0xff82da40[c]:"weird", 27) -> 0x566d0e50:"This is a bogus but reasonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplacecaseless (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da58[c]:"long", 0xff82da64[c]:"big", 0) = -1 . bfindreplacecaseless (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82da58[c]:"long", 0xff82da64[c]:"big", 0) -> 0x566d0e50:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplacecaseless (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82daa0[c]:"LONG", 0xff82da64[c]:"big", 0) = -1 . bfindreplacecaseless (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0xff82daa0[c]:"LONG", 0xff82da64[c]:"big", 0) -> 0x566d0e50:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplacecaseless (0x566d0e50[p]:"sstsst", 0xff82da4c[c]:"s", 0xff82da70[c]:"ss", 0) = -1 . bfindreplacecaseless (0x566d0e50:"sstsst", 0xff82da4c[c]:"s", 0xff82da70[c]:"ss", 0) -> 0x566d0e50:"sssstsssst" . bfindreplacecaseless (0x566d0e50[p]:"sstsst", 0xff82da94[c]:"S", 0xff82da70[c]:"ss", 0) = -1 . bfindreplacecaseless (0x566d0e50:"sstsst", 0xff82da94[c]:"S", 0xff82da70[c]:"ss", 0) -> 0x566d0e50:"sssstsssst" . bfindreplacecaseless (0x566d0e50[p]:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0xff82da4c[c]:"s", 0xff82da70[c]:"ss", 0) = -1 . bfindreplacecaseless (0x566d0e50:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0xff82da4c[c]:"s", 0xff82da70[c]:"ss", 0) -> 0x566d0e50:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx" # failures: 0 TEST: int biseqcstr (const_bstring b, const char * s); . biseqcstr (NULL, (nil):<(null)>) = -1 . biseqcstr (0x56666094[c]:"", (nil):<(null)>) = -1 . biseqcstr (NULL, 0x56660ed0:<>) = -1 . biseqcstr (0x56666004:[err:data=NULL], 0x56660ed0:<>) = -1 . biseqcstr (0x56666070:[err:slen=-5<0], 0x566615e1:) = -1 . biseqcstr (0x56666094[c]:"", 0x56660ed0:<>) = 1 . biseqcstr (0x56666088[c]:"bogus", 0x566615e1:) = 1 . biseqcstr (0x56666094[c]:"", 0x566615e1:) = 0 . biseqcstr (0x56666088[c]:"bogus", 0x56660ed0:<>) = 0 . biseqcstr (0x566d0e50:"bpgus", 0x566615e1:) = 0 TEST: int biseqcstrcaseless (const_bstring b, const char * s); . biseqcstrcaseless (NULL, (nil):<(null)>) = -1 . biseqcstrcaseless (0x56666094[c]:"", (nil):<(null)>) = -1 . biseqcstrcaseless (NULL, 0x56660ed0:<>) = -1 . biseqcstrcaseless (0x56666004:[err:data=NULL], 0x56660ed0:<>) = -1 . biseqcstrcaseless (0x56666070:[err:slen=-5<0], 0x566615e1:) = -1 . biseqcstrcaseless (0x56666094[c]:"", 0x56660ed0:<>) = 1 . biseqcstrcaseless (0x56666088[c]:"bogus", 0x566615e1:) = 1 . biseqcstrcaseless (0x56666088[c]:"bogus", 0x56661324:) = 1 . biseqcstrcaseless (0x56666094[c]:"", 0x566615e1:) = 0 . biseqcstrcaseless (0x56666088[c]:"bogus", 0x56660ed0:<>) = 0 . biseqcstrcaseless (0x566d0e50:"bpgus", 0x566615e1:) = 0 TEST: int btoupper (bstring b); . btoupper (NULL) = -1 . btoupper (0x56666004:[err:data=NULL]) = -1 . btoupper (0x56666070:[err:slen=-5<0]) = -1 . btoupper (0x566d0e50[p]:"") = 0x566d0e50[p]:"" . btoupper (0x566d0e50:"") = 0x566d0e50:"" . btoupper (0x566d0e50[p]:"bogus") = 0x566d0e50[p]:"bogus" . btoupper (0x566d0e50:"bogus") = 0x566d0e50:"BOGUS" . btoupper (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . btoupper (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x566d0e50:"THIS IS A BOGUS BUT REASONABLY LONG STRING. JUST LONG ENOUGH TO CAUSE SOME MALLOCING." TEST: int btolower (bstring b); . btolower (NULL) = -1 . btolower (0x56666004:[err:data=NULL]) = -1 . btolower (0x56666070:[err:slen=-5<0]) = -1 . btolower (0x566d0e50[p]:"") = 0x566d0e50[p]:"" . btolower (0x566d0e50:"") = 0x566d0e50:"" . btolower (0x566d0e50[p]:"bogus") = 0x566d0e50[p]:"bogus" . btolower (0x566d0e50:"bogus") = 0x566d0e50:"bogus" . btolower (0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x566d0e50[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . btolower (0x566d0e50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x566d0e50:"this is a bogus but reasonably long string. just long enough to cause some mallocing." TEST: int bstricmp (const_bstring b0, const_bstring b1); . bstricmp (NULL, NULL) = -32768 . bstricmp (0x56666094[c]:"", NULL) = -32768 . bstricmp (NULL, 0x56666094[c]:"") = -32768 . bstricmp (0x56666094[c]:"", 0x56666004:[err:data=NULL]) = -32768 . bstricmp (0x56666004:[err:data=NULL], 0x56666094[c]:"") = -32768 . bstricmp (0x56666088[c]:"bogus", 0x56666070:[err:slen=-5<0]) = -32768 . bstricmp (0x56666070:[err:slen=-5<0], 0x56666088[c]:"bogus") = -32768 . bstricmp (0x56666094[c]:"", 0x56666094[c]:"") = 0 . bstricmp (0x56666088[c]:"bogus", 0xff82db58[c]:"bOgUs") = 0 . bstricmp (0x56666088[c]:"bogus", 0xff82db64[c]:"bOgUR") = 1 . bstricmp (0x56666088[c]:"bogus", 0xff82db70[c]:"bOgUt") = -1 . bstricmp (0x56666088[c]:"bogus", 0xff82db58[c]:"bOgUs") = -256 . bstricmp (0xff82db58[c]:"bOgUs", 0x56666088[c]:"bogus") = 256 TEST: int bstrnicmp (const_bstring b0, const_bstring b1); . bstrnicmp (NULL, NULL, 0) = -32768 . bstrnicmp (0x56666094[c]:"", NULL, 0) = -32768 . bstrnicmp (NULL, 0x56666094[c]:"", 0) = -32768 . bstrnicmp (0x56666094[c]:"", 0x56666004:[err:data=NULL], 0) = -32768 . bstrnicmp (0x56666004:[err:data=NULL], 0x56666094[c]:"", 0) = -32768 . bstrnicmp (0x56666088[c]:"bogus", 0x56666070:[err:slen=-5<0], 5) = -32768 . bstrnicmp (0x56666070:[err:slen=-5<0], 0x56666088[c]:"bogus", 5) = -32768 . bstrnicmp (0x56666094[c]:"", 0x56666094[c]:"", 0) = 0 . bstrnicmp (0x56666088[c]:"bogus", 0xff82da88[c]:"bOgUs", 0) = 0 . bstrnicmp (0x56666088[c]:"bogus", 0xff82da88[c]:"bOgUs", 5) = 0 . bstrnicmp (0x56666088[c]:"bogus", 0xff82da88[c]:"bOgUs", 4) = 0 . bstrnicmp (0x56666088[c]:"bogus", 0xff82da88[c]:"bOgUs", 6) = 0 . bstrnicmp (0x56666088[c]:"bogus", 0xff82da94[c]:"bOgUR", 5) = 33 . bstrnicmp (0x56666088[c]:"bogus", 0xff82da94[c]:"bOgUR", 4) = 0 . bstrnicmp (0x56666088[c]:"bogus", 0xff82da94[c]:"bOgUR", 6) = 33 . bstrnicmp (0x56666088[c]:"bogus", 0xff82daa0[c]:"bOgUt", 5) = -1 . bstrnicmp (0x56666088[c]:"bogus", 0xff82daa0[c]:"bOgUt", 4) = 0 . bstrnicmp (0x56666088[c]:"bogus", 0xff82daa0[c]:"bOgUt", 6) = -1 . bstrnicmp (0x56666088[c]:"bogus", 0xff82da88[c]:"bOgUs", 5) = 0 . bstrnicmp (0x56666088[c]:"bogus", 0xff82da88[c]:"bOgUs", 6) = -256 . bstrnicmp (0xff82da88[c]:"bOgUs", 0x56666088[c]:"bogus", 6) = 256 TEST: int biseqcaseless (const_bstring b0, const_bstring b1); . biseqcaseless (NULL, NULL) = -1 . biseqcaseless (0x56666094[c]:"", NULL) = -1 . biseqcaseless (NULL, 0x56666094[c]:"") = -1 . biseqcaseless (0x56666094[c]:"", 0x56666004:[err:data=NULL]) = -1 . biseqcaseless (0x56666004:[err:data=NULL], 0x56666094[c]:"") = -1 . biseqcaseless (0x56666088[c]:"bogus", 0x56666070:[err:slen=-5<0]) = -1 . biseqcaseless (0x56666070:[err:slen=-5<0], 0x56666088[c]:"bogus") = -1 . biseqcaseless (0x56666094[c]:"", 0x56666094[c]:"") = 1 . biseqcaseless (0x56666088[c]:"bogus", 0xff82db58[c]:"bOgUs") = 1 . biseqcaseless (0x56666088[c]:"bogus", 0xff82db64[c]:"bOgUR") = 0 . biseqcaseless (0x56666088[c]:"bogus", 0xff82db70[c]:"bOgUt") = 0 TEST: bgets/breads test TEST: trim functions . bltrim (0xff82db34[c]:" bogus string ") = 0x566d0e20:"bogus string " . brtrim (0xff82db34[c]:" bogus string ") = 0x566d0e20:" bogus string" . btrim (0xff82db34[c]:" bogus string ") = 0x566d0e20:"bogus string" . bltrim (0xff82db40[c]:"bogus string ") = 0x566d0e20:"bogus string " . brtrim (0xff82db40[c]:"bogus string ") = 0x566d0e20:"bogus string" . btrim (0xff82db40[c]:"bogus string ") = 0x566d0e20:"bogus string" . bltrim (0xff82db4c[c]:" bogus string") = 0x566d0e20:"bogus string" . brtrim (0xff82db4c[c]:" bogus string") = 0x566d0e20:" bogus string" . btrim (0xff82db4c[c]:" bogus string") = 0x566d0e20:"bogus string" . bltrim (0xff82db58[c]:"bogus string") = 0x566d0e20:"bogus string" . brtrim (0xff82db58[c]:"bogus string") = 0x566d0e20:"bogus string" . btrim (0xff82db58[c]:"bogus string") = 0x566d0e20:"bogus string" . bltrim (0xff82db64[c]:" ") = 0x566d0e20:"" . brtrim (0xff82db64[c]:" ") = 0x566d0e20:"" . btrim (0xff82db64[c]:" ") = 0x566d0e20:"" . bltrim (0xff82db70[c]:"") = 0x566d0e20:"" . brtrim (0xff82db70[c]:"") = 0x566d0e20:"" . btrim (0xff82db70[c]:"") = 0x566d0e20:"" TEST: int bassignmidstr (bstring b0, const_bstring b1, int left, int len); . bassignmidstr (NULL, NULL, 0, 1) = -1 . bassignmidstr (NULL, 0x56666094[c]:"", 0, 1) = -1 . bassignmidstr (0x56666094[c]:"", NULL, 0, 1) = -1 . bassignmidstr (0x56666004:[err:data=NULL], 0x56666094[c]:"", 0, 1) = -1 . bassignmidstr (0x56666070:[err:slen=-5<0], 0x56666094[c]:"", 0, 1) = -1 . bassignmidstr (0x56666094[c]:"", 0x56666004:[err:data=NULL], 0, 1) = -1 . bassignmidstr (0x56666094[c]:"", 0x56666070:[err:slen=-5<0], 0, 1) = -1 . bassignmidstr (0x566d0e20[p]:"", 0x56666094[c]:"", 0, 1) = 0x566d0e20[p]:"" . bassignmidstr (0x566d0e20:"", 0x56666094[c]:"", 0, 1) = 0x566d0e20:"" . bassignmidstr (0x566d0e20[p]:"", 0x56666088[c]:"bogus", 1, 3) = 0x566d0e20[p]:"" . bassignmidstr (0x566d0e20:"", 0x56666088[c]:"bogus", 1, 3) = 0x566d0e20:"ogu" . bassignmidstr (0x566d0e20[p]:"bogus", 0x56666094[c]:"", 0, 1) = 0x566d0e20[p]:"bogus" . bassignmidstr (0x566d0e20:"bogus", 0x56666094[c]:"", 0, 1) = 0x566d0e20:"" . bassignmidstr (0x566d0e20[p]:"bogus", 0x56666088[c]:"bogus", 1, 3) = 0x566d0e20[p]:"bogus" . bassignmidstr (0x566d0e20:"bogus", 0x56666088[c]:"bogus", 1, 3) = 0x566d0e20:"ogu" . bassignmidstr (0x566d0e20[p]:"bogus", 0x56666088[c]:"bogus", -1, 4) = 0x566d0e20[p]:"bogus" . bassignmidstr (0x566d0e20:"bogus", 0x56666088[c]:"bogus", -1, 4) = 0x566d0e20:"bog" . bassignmidstr (0x566d0e20[p]:"bogus", 0x56666088[c]:"bogus", 1, 9) = 0x566d0e20[p]:"bogus" . bassignmidstr (0x566d0e20:"bogus", 0x56666088[c]:"bogus", 1, 9) = 0x566d0e20:"ogus" . bassignmidstr (0x566d0e20[p]:"bogus", 0x56666088[c]:"bogus", 9, 1) = 0x566d0e20[p]:"bogus" . bassignmidstr (0x566d0e20:"bogus", 0x56666088[c]:"bogus", 9, 1) = 0x566d0e20:"" # failures: 0 TEST: int bmid2tbstr (struct tagbstring &t, const_bstring b1, int left, int len); . bmid2tbstr (NULL, 0, 1) = 0x566d0e20:"" . bmid2tbstr (0x56666094[c]:"", 0, 1) = 0x566d0a60:"" . bmid2tbstr (NULL, 0, 1) = 0x566d0a60:"" . bmid2tbstr (0x56666094[c]:"", 0, 1) = 0x566d0e20:"" . bmid2tbstr (0x56666094[c]:"", 0, 1) = 0x566d0a60:"" . bmid2tbstr (0x56666004:[err:data=NULL], 0, 1) = 0x566d0a60:"" . bmid2tbstr (0x56666070:[err:slen=-5<0], 0, 1) = 0x566d0a60:"" . bmid2tbstr (0x56666094[c]:"", 0, 1) = 0x566d0e20:"" . bmid2tbstr (0x56666088[c]:"bogus", 1, 3) = 0x566d0a60:"ogu" . bmid2tbstr (0x56666094[c]:"", 0, 1) = 0x566d0e20:"" . bmid2tbstr (0x56666088[c]:"bogus", 1, 3) = 0x566d0a60:"ogu" . bmid2tbstr (0x56666088[c]:"bogus", -1, 4) = 0x566d0e20:"bog" . bmid2tbstr (0x56666088[c]:"bogus", 1, 9) = 0x566d0a60:"ogus" . bmid2tbstr (0x56666088[c]:"bogus", 9, 1) = 0x566d0e20:"" # failures: 0 TEST: int btrunc (bstring b, int n); . btrunc (0x56666094[c]:"", 10) = 0x566d0e20:"" . btrunc (0x56666094[c]:"", 0) = 0x566d0e20:"" . btrunc (0x56666094[c]:"", -1) = 0x566d0e20:"" . btrunc (0x56666088[c]:"bogus", 10) = 0x566d0e20:"bogus" . btrunc (0x56666088[c]:"bogus", 3) = 0x566d0e20:"bog" . btrunc (0x56666088[c]:"bogus", 0) = 0x566d0e20:"" . btrunc (0x56666088[c]:"bogus", -1) = 0x566d0e20:"bogus" # failures: 0 TEST: int btfromblk*trim (struct tagbstring t, void * s, int l); . btfromblkltrimws ("", "", 0) . btfromblkrtrimws ("", "", 0) . btfromblktrimws ("", "", 0) . btfromblkltrimws ("", " ", 4) . btfromblkrtrimws ("", " ", 4) . btfromblktrimws ("", " ", 4) . btfromblkltrimws ("abc", " abc", 4) . btfromblkrtrimws (" abc", " abc", 4) . btfromblktrimws ("abc", " abc", 4) . btfromblkltrimws ("abc ", "abc ", 4) . btfromblkrtrimws ("abc", "abc ", 4) . btfromblktrimws ("abc", "abc ", 4) . btfromblkltrimws ("abc ", " abc ", 5) . btfromblkrtrimws (" abc", " abc ", 5) . btfromblktrimws ("abc", " abc ", 5) . btfromblkltrimws ("abc", "abc", 3) . btfromblkrtrimws ("abc", "abc", 3) . btfromblktrimws ("abc", "abc", 3) # failures: 0 TEST: int bassigncstr (bstring a, char * str); . bassigncstr (b = 0x566d0e20:"", NULL) = -1; b -> 0x566d0e20:"" . bassigncstr (b = 0x566d0e20:"", "") = 0; b -> 0x566d0e20:"" . bassigncstr (b = 0x566d0e20[p]:"xxxxx", "") = -1; b -> 0x566d0e20[p]:"xxxxx" . bassigncstr (a = 0x56666088[c]:"bogus", "") = -1; a -> 0x56666088[c]:"bogus" . bassigncstr (b = 0x566d0e20:"", "bogus") = 0; b -> 0x566d0e20:"bogus" . bassigncstr (b = 0x566d0e20[p]:"xxxxx", "bogus") = -1; b -> 0x566d0e20[p]:"xxxxx" . bassigncstr (a = 0x56666088[c]:"bogus", "bogus") = -1; a -> 0x56666088[c]:"bogus" . bassigncstr (b = 0x566d0e20:"", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0; b -> 0x566d0e20:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bassigncstr (b = 0x566d0e20[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = -1; b -> 0x566d0e20[p]:"xxxxx" . bassigncstr (a = 0x56666088[c]:"bogus", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = -1; a -> 0x56666088[c]:"bogus" # failures: 0 TEST: int bassignblk (bstring a, const void * s, int len); . bassignblk (b = 0x566d0e20:"", NULL, 1) = -1; b -> 0x566d0e20:"" . bassignblk (b = 0x566d0e20:"", "", 0) = 0; b -> 0x566d0e20:"" . bassignblk (b = 0x566d0e20[p]:"xxxxx", "", 0) = -1; b -> 0x566d0e20[p]:"xxxxx" . bassignblk (a = 0x56666088[c]:"bogus", "", 0) = -1; a -> 0x56666088[c]:"bogus" . bassignblk (b = 0x566d0e20:"", "bogus", 5) = 0; b -> 0x566d0e20:"bogus" . bassignblk (b = 0x566d0e20[p]:"xxxxx", "bogus", 5) = -1; b -> 0x566d0e20[p]:"xxxxx" . bassignblk (a = 0x56666088[c]:"bogus", "bogus", 5) = -1; a -> 0x56666088[c]:"bogus" . bassignblk (b = 0x566d0e20:"", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = 0; b -> 0x566d0e20:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bassignblk (b = 0x566d0e20[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = -1; b -> 0x566d0e20[p]:"xxxxx" . bassignblk (a = 0x56666088[c]:"bogus", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = -1; a -> 0x56666088[c]:"bogus" # failures: 0 TEST: int bvcformata (bstring b, int count, const char * fmt, va_list arg); . bvcformata (NULL, 8, "[%d]", ...) -> -1, NULL (NULL) . bvcformata (0x56666088[c]:"bogus", 8, "[%d]", ...) -> -1, 0x56666088[c]:"bogus" (NULL) . bvcformata (0x56666004:[err:data=NULL], 8, "[%d]", ...) -> -1, 0x56666004:[err:data=NULL] (NULL) . bvcformata (0x56666070:[err:slen=-5<0], 8, "[%d]", ...) -> -1, 0x56666070:[err:slen=-5<0] (NULL) . bvcformata (0x56666064:[err:mlen=2 -1, 0x56666064:[err:mlen=2 0, 0x566d0e20:"bogus" (0x56666088[c]:"bogus") . bvcformata (0x566d0e20:"bogus", 6, "%s", ...) -> 0, 0x566d0e20:"bogus" (0x56666088[c]:"bogus") . bvcformata (0x566d0e20:"bogus", 4, "%s", ...) -> -8, 0x566d0e20:"" (NULL) TEST: bvformata (int &ret, bstring b, const char * fmt, lastarg); . bvformata (&, NULL, "[%d]", ...) -> -1, NULL (NULL) . bvformata (&, 0x56666088[c]:"bogus", "[%d]", ...) -> -1, 0x56666088[c]:"bogus" (NULL) . bvformata (&, 0x56666004:[err:data=NULL], "[%d]", ...) -> -1, 0x56666004:[err:data=NULL] (NULL) . bvformata (&, 0x56666070:[err:slen=-5<0], "[%d]", ...) -> -1, 0x56666070:[err:slen=-5<0] (NULL) . bvformata (&, 0x56666064:[err:mlen=2 -1, 0x56666064:[err:mlen=2 0, 0x566d0e20:"bogus" (0x56666088[c]:"bogus") . bvformata (&, 0x566d0e20:"bogus", "%s", ...) -> 0, 0x566d0e20:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") . bvformata (&, 0x566d0e20:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", "%s%s%s%s%s%s%s%s", ...) -> 0, 0x566d0e20:"WaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterloo" (0x566d0e50:"WaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterloo") # failures: 0 TEST: int biseqblk (const_bstring b, const void * blk, int len); . biseqblk (NULL, NULL) = -1 . biseqblk (0x56666094[c]:"", NULL) = -1 . biseqblk (NULL, cstr[0x56660ed0] -> "") = -1 . biseqblk (0x56666088[c]:"bogus", NULL) = -1 . biseqblk (NULL, cstr[0x566615e1] -> "bogus") = -1 . biseqblk (0x56666004:[err:data=NULL], NULL) = -1 . biseqblk (0x56666070:[err:slen=-5<0], cstr[0x566615e1] -> "bogus") = -1 . biseqblk (0x56666088[c]:"bogus", cstr[0x566615e1] -> "bogus") = -1 . biseqblk (0x56666070:[err:slen=-5<0], cstr[0x566615e1] -> "bogus") = -1 . biseqblk (0x56666094[c]:"", cstr[0x56660ed0] -> "") = 1 . biseqblk (0x56666088[c]:"bogus", cstr[0x56660ed0] -> "") = 0 . biseqblk (0x56666094[c]:"", cstr[0x566615e1] -> "bogus") = 0 . biseqblk (0x56666088[c]:"bogus", cstr[0x566615e1] -> "bogus") = 1 . biseqblk (0x566d0e20:"bpgus", cstr[0x566615e1] -> "bogus") = 0 . biseqblk (0x56666088[c]:"bogus", cstr[0x566622ec] -> "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0 . biseqblk (0x5666607c[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", cstr[0x566615e1] -> "bogus") = 0 # failures: 0 TEST: int biseqcaselessblk (const_bstring b, const void * blk, int len); . biseqcaselessblk (NULL, NULL, 0) = -1 . biseqcaselessblk (0x56666094[c]:"", NULL, 0) = -1 . biseqcaselessblk (NULL, cstr[0x56660ed0] -> "", 0) = -1 . biseqcaselessblk (0x56666094[c]:"", NULL, 0) = -1 . biseqcaselessblk (0x56666004:[err:data=NULL], cstr[0x56660ed0] -> "", 4) = -1 . biseqcaselessblk (0x56666088[c]:"bogus", cstr[0x566615e1] -> "bogus", -5) = -1 . biseqcaselessblk (0x56666070:[err:slen=-5<0], cstr[0x566615e1] -> "bogus", -5) = -1 . biseqcaselessblk (0x56666094[c]:"", cstr[0x56660ed0] -> "", 0) = 1 . biseqcaselessblk (0x56666088[c]:"bogus", cstr[0x56661390] -> "bOgUs", 5) = 1 . biseqcaselessblk (0x56666088[c]:"bogus", cstr[0x56661396] -> "bOgUR", 5) = 0 . biseqcaselessblk (0x56666088[c]:"bogus", cstr[0x5666139c] -> "bOgUt", 5) = 0 # test failures: 0 gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -c -o testaux.o testaux.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wall -o testaux -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib -lbstr testaux.o -I/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/include/bstrlib/ LD_PRELOAD=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib/libbstr.so.1.0.0 ./testaux Direct case testing of bstraux functions TEST: struct bwriteStream functions. # failures: 0 TEST: bTail and bHead functions. # failures: 0 TEST: bSetChar function. # failures: 0 TEST: bSetCstrChar function. # failures: 0 TEST: bFill function. # failures: 0 TEST: bReplicate function. # failures: 0 TEST: bReverse function. # failures: 0 TEST: bInsertChrs function. # failures: 0 TEST: bJustify functions. # failures: 0 TEST: NetStr functions. # failures: 0 TEST: Base 64 codec. # failures: 0 TEST: UU codec. # failures: 0 TEST: Y codec. # failures: 0 TEST: bsFromBstr. # failures: 0 TEST: bSecureInput, bSecureDestroy. # failures: 0 TEST: bSGMLEncode. # failures: 0 # test failures: 0 g++ -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -fPIC -I. -c -o test.o test.cpp test.cpp:1617:26: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define bMultiConcat(dst,...) bMultiConcatNeedNULLAsLastArgument((dst),##__VA_ARGS__,NULL) ^~~ test.cpp:1618:27: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define bMultiCatCstr(dst,...) bMultiCatCstrNeedNULLAsLastArgument((dst),##__VA_ARGS__,NULL) ^~~ test.cpp:1629:22: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define bDeclTbstr(t,...) \ ^~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wall -Wno-variadic-macros -o testwrap -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib -lbstrc++ -lbstr test.o -I/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/include/bstrlib/ LD_PRELOAD=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib/libbstr.so.1.0.0:/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/lib/libbstrc++.so.1.0.0 ./testwrap Direct case testing of CPP core functions TEST: CBString constructor CBString c; CBString c("test"); CBString c(25, "test"); CBString c('t'); CBString c('\0'); CBString c(bstr["test"]); CBString c(CBstr["test"]); CBString c('x',5); CBString c("123456",4); # failures: 0 TEST: CBString = operator c = 'x'; c = (unsigned char)'x'; c = "test"; c = CBStr["test"]; c = tbstr["test"]; # failures: 0 TEST: CBString += operator c += 'x'; c += (unsigned char)'x'; c += "test"; c += CBStr["test"]; c += tbstr["test"]; # failures: 0 TEST: CBString + operator c + 'x'; c + (unsigned char)'x'; c + "test"; c + (unsigned char *) "test"; c + CBStr["test"]; c + tbstr["test"]; TEST: + CBString operator 'x' + c; (unsigned char)'y' + c; "test" + c; (unsigned char *) "test" + c; tbstr["extra"] + c; # failures: 0 TEST: CBString == operator c == d; c == "test"; c == (unsigned char *) "test"; # failures: 0 TEST: CBString != operator c != d; c != "test"; c != (unsigned char *) "test"; # failures: 0 TEST: CBString <, <= operators c < d; c <= d; c < "test"; c <= "test"; c < (unsigned char *) "test"; c <= (unsigned char *) "test"; # failures: 0 TEST: CBString >, >= operators c >= d; c > d; c >= "test"; c > "test"; c >= (unsigned char *) "test"; c > (unsigned char *) "test"; # failures: 0 TEST: (const char *) CBString operator (const char *) CBString (const unsigned char *) CBString # failures: 0 TEST: (double), (float), (int) CBString operators (double) "1.2e3" (float) "1.2e3" (int) "100" (int) "100.55" (unsigned int) "100.55" (double) "xxxxx" Exception (CBString::Unable to convert to a double) correctly thrown (float) "xxxxx" Exception (CBString::Unable to convert to a float) correctly thrown (int) "xxxxx" Exception (CBString::Unable to convert to an int) correctly thrown (unsigned int) "xxxxx" Exception (CBString::Unable to convert to an unsigned int) correctly thrown # failures: 0 TEST: length() method "".length(); "Test".length(); # failures: 0 TEST: character() method, [] operator "Test".character (); "Text"[]; "".character (); Exception (CBString::character index out of bounds) correctly thrown ""[]; Exception (CBString::character index out of bounds) correctly thrown # failures: 0 TEST: format(), formata() methods c.format (...); "Test".formata (...); # failures: 0 TEST: find() method "".find (CBString()); "".find (char *); "".find (char); TEST: reversefind () method "".reversefind (CBString()); "".reversefind (char *); "".reversefind (char); # failures: 0 TEST: findchr(), reversefindchr() methods "".findchr (CBString("abcdef")); "Test".findchr (CBString("abcdef")); "".findchr ("abcdef"); "Test".findchr ("abcdef"); "".reversefindchr (CBString("abcdef")); "Test".reversefindchr (CBString("abcdef")); "".reversefindchr ("abcdef"); "Test".reversefindchr ("abcdef"); # failures: 0 TEST: nfindchr(), nreversefindchr() methods "".nfindchr (CBString("abcdef")); "Test".nfindchr (CBString("abcdef")); "".nfindchr ("abcdef"); "Test".nfindchr ("abcdef"); "".nreversefindchr (CBString("abcdef")); "Test".nreversefindchr (CBString("abcdef")); "".nreversefindchr ("abcdef"); "Test".nreversefindchr ("abcdef"); # failures: 0 TEST: midstr() method "".midstr (1,3) "bogus".midstr (1,3) # failures: 0 TEST: fill() method "".fill(5,'x') "Test-test".fill(5,'x') # failures: 0 TEST: alloc() method "".alloc(5) "Test-test".alloc(5) "".alloc(0) Exception (CBString::Failure in alloc) properly thrown "".alloc(-1) Exception (CBString::Failure in alloc) properly thrown # failures: 0 TEST: setsubstr() method "".setsubstr (4,"extra") "Test-test".setsubstr (4,"extra") "".setsubstr(-1,"extra") Exception (CBString::Failure in setsubstr) properly thrown # failures: 0 TEST: insert() method "".insert (4,"extra") "Test-test".insert (4,"extra") "".insert(-1,"extra") Exception (CBString::Failure in insert) properly thrown # failures: 0 TEST: insertchrs() method "".insertchrs (4,2,'x') "Test-test".insertchrs (4,2,'x') "".insertchrs (-1,2,'x') Exception (CBString::Failure in insertchrs) properly thrown # failures: 0 TEST: replace() method "".replace (4,2,"beef") "Test-test".replace (4,2,"beef") # failures: 0 TEST: findreplace() method "".findreplace ("est","beef") "Test-test".findreplace ("est","beef") "".findreplacecaseless ("est","beef") "TeSt-tEsT".findreplacecaseless ("est","beef") # failures: 0 TEST: remove() method "".remove (4,2) "Test-test".remove (4,2) # failures: 0 TEST: trunc() method "".trunc (4) "Test-test".trunc (4) # failures: 0 TEST: repeat() method "".repeat (4) "Test".repeat (4) # failures: 0 TEST: ltrim(), rtrim() methods "".ltrim () " Test ".ltrim () " ".ltrim () # failures: 0 TEST: split(), join() mechanisms "a b c d e f".split (' ') c.join (<...>) # failures: 0 TEST: caselessEqual(), caselessCmp() mechanisms "Test".caselessEqual ("test") "Test".caselessEqual ("testy") "Test".caselessCmp ("test") "Test".caselessCmp ("testy") # failures: 0 TEST: toupper(), tolower() mechanisms "Test".toupper () "Test".tolower () # failures: 0 TEST: CBStream test "Test" through CBStream.read() "Test" through CBStream.>> TEST: bMultiCatCstr, bMultiConcat # failures: 0 TEST: bDeclTbstr # failures: 0 # test failures: 0 Processing files: bstrlib-1.0.0-2.fc28.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.96PCjv Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fuXITI + exit 0 + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/doc/bstrlib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/doc/bstrlib + cp -pr README.md /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/doc/bstrlib + exit 0 + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/licenses/bstrlib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/licenses/bstrlib + cp -pr LICENSE /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/licenses/bstrlib + cp -pr gpl.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/licenses/bstrlib + exit 0 Provides: bstrlib = 1.0.0-2.fc28 bstrlib(x86-32) = 1.0.0-2.fc28 libbstr.so.1 libbstrc++.so.1 libbstrsafe.so.1 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libbstr.so.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.20) libstdc++.so.6(GLIBCXX_3.4.21) rtld(GNU_HASH) Processing files: bstrlib-devel-1.0.0-2.fc28.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3RzyDW + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/doc/bstrlib-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/doc/bstrlib-devel + cp -pr porting.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/doc/bstrlib-devel + cp -pr bstrlib.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/doc/bstrlib-devel + cp -pr security.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386/usr/share/doc/bstrlib-devel + exit 0 Provides: bstrlib-devel = 1.0.0-2.fc28 bstrlib-devel(x86-32) = 1.0.0-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbstr.so.1 libbstrc++.so.1 libbstrsafe.so.1 Processing files: bstrlib-debugsource-1.0.0-2.fc28.i686 Provides: bstrlib-debugsource = 1.0.0-2.fc28 bstrlib-debugsource(x86-32) = 1.0.0-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bstrlib-debuginfo-1.0.0-2.fc28.i686 Provides: bstrlib-debuginfo = 1.0.0-2.fc28 bstrlib-debuginfo(x86-32) = 1.0.0-2.fc28 debuginfo(build-id) = 0f05ac19f97169bae5708fd388425aabb1b8b90e debuginfo(build-id) = e8673d19688160dd976c69150cfb5162d369bd42 debuginfo(build-id) = f6f9f37cf0b777c20f4c09d02a1d1e145bf77379 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bstrlib-debugsource(x86-32) = 1.0.0-2.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386 Wrote: /builddir/build/RPMS/bstrlib-1.0.0-2.fc28.i686.rpm Wrote: /builddir/build/RPMS/bstrlib-devel-1.0.0-2.fc28.i686.rpm Wrote: /builddir/build/RPMS/bstrlib-debugsource-1.0.0-2.fc28.i686.rpm Wrote: /builddir/build/RPMS/bstrlib-debuginfo-1.0.0-2.fc28.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.j6qqpb + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.i386 + exit 0 Child return code was: 0