Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bstrlib.spec'], chrootPath='/var/lib/mock/610322-fedora-rawhide-x86_64/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 x86_64 --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: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/bstrlib.spec'], chrootPath='/var/lib/mock/610322-fedora-rawhide-x86_64/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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hfhb6J + 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.x86_64/usr/lib64|g' Makefile + sed -i 's|@MAJORVER@|1|g' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mPROBW + 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 -m64 -mtune=generic' '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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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.pJN4Ch + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64 + cd bstrlib-1.0.0 + mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64 + 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.x86_64/usr/lib64/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.x86_64/usr/lib64/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.x86_64/usr/lib64/libbstrc++.so.1.0.0 + mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/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.x86_64/usr/include/bstrlib/ + ldconfig -n /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64 -v /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64: 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.x86_64/usr/lib64 + 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.x86_64 --unique-debug-src-base bstrlib-1.0.0-2.fc28.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bstrlib-1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64/libbstrc++.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64/libbstrsafe.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64/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.2BXDdE + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + make LIBDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64 INCLUDEDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/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 -m64 -mtune=generic' '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 -m64 -mtune=generic -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 -m64 -mtune=generic -Wall -o bstest -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64 -lbstr bstest.o -I/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/include/bstrlib/ LD_PRELOAD=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64/libbstr.so.1.0.0 ./bstest Direct case testing of bstring core functions TEST: bstring bfromcstr (const char * str); . bfromcstr (NULL) = NULL . bfromcstr ("") = 0x55cdebe162b0:"" . bfromcstr ("bogus") = 0x55cdebe162b0:"bogus" . bfromcstr ("This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x55cdebe162b0:"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, "") = 0x55cdebe16510:"" . bfromcstralloc (30, "") = 0x55cdebe16510:"" . bfromcstralloc (0, "bogus") = 0x55cdebe16510:"bogus" . bfromcstralloc (30, "bogus") = 0x55cdebe16510:"bogus" . bfromcstralloc (0, "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x55cdebe16510:"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.") = 0x55cdebe16510:"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[0x55cdea8a60e4] -> "") correct . bfromcstrrangealloc (*,*,cstr[0x55cdea8a7568] -> "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=0x55cdea8a67f5, len=5) = 0x55cdebe16d50:"bogus" . blk2bstr (blk=0x55cdea8a7568, len=86) = 0x55cdebe16d50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . blk2bstr (blk=0x55cdea8a7568, len=5) = 0x55cdebe16d50:"This " . blk2bstr (blk=0x55cdea8a7568, len=0) = 0x55cdebe16d50:"" . blk2bstr (NULL, len=-1) = NULL # failures: 0 TEST: char * bstr2cstr (const_bstring s, char z); . bstr2cstr (NULL, 3F) = NULL . bstr2cstr (0x55cdeaaab0d0[c]:"", 3F) = "" . bstr2cstr (0x55cdeaaab0c0[c]:"bogus", 3F) = "bogus" . bstr2cstr (0x55cdeaaab0b0[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 (0x55cdeaaab010:[err:data=NULL], 3F) = NULL . bstr2cstr (0x55cdeaaab0a0:[err:slen=-5<0], 3F) = NULL # failures: 0 TEST: bstring bstrcpy (const_bstring b1); . bstrcpy (NULL) = NULL . bstrcpy (0x55cdeaaab010:[err:data=NULL]) = NULL . bstrcpy (0x55cdeaaab0a0:[err:slen=-5<0]) = NULL . bstrcpy (0x55cdeaaab0d0[c]:"") = 0x55cdebe16290:"" . bstrcpy (0x55cdeaaab0c0[c]:"bogus") = 0x55cdebe16290:"bogus" . bstrcpy (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x55cdebe16290:"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 (0x55cdeaaab010:[err:data=NULL], 1, 3) = NULL . bmidstr (0x55cdeaaab0a0:[err:slen=-5<0], 1, 3) = NULL . bmidstr (0x55cdeaaab0d0[c]:"", 0, 0) = 0x55cdebe16290:"" . bmidstr (0x55cdeaaab0d0[c]:"", 0, -1) = 0x55cdebe16290:"" . bmidstr (0x55cdeaaab0d0[c]:"", 1, 3) = 0x55cdebe16290:"" . bmidstr (0x55cdeaaab0c0[c]:"bogus", 0, 0) = 0x55cdebe16290:"" . bmidstr (0x55cdeaaab0c0[c]:"bogus", 0, -1) = 0x55cdebe16290:"" . bmidstr (0x55cdeaaab0c0[c]:"bogus", 1, 3) = 0x55cdebe16290:"ogu" . bmidstr (0x55cdeaaab0c0[c]:"bogus", -1, 3) = 0x55cdebe16290:"bo" . bmidstr (0x55cdeaaab0c0[c]:"bogus", -1, 9) = 0x55cdebe16290:"bogus" . bmidstr (0x55cdeaaab0c0[c]:"bogus", 3, -1) = 0x55cdebe16290:"" . bmidstr (0x55cdeaaab0c0[c]:"bogus", 9, 3) = 0x55cdebe16290:"" # failures: 0 TEST: int bconcat (bstring b0, const_bstring b1); . bconcat (NULL, NULL) = -1 . bconcat (NULL, 0x55cdeaaab0d0[c]:"") = -1 . bconcat (0x55cdeaaab0d0[c]:"", NULL) = -1 . bconcat (0x55cdeaaab0d0[c]:"", 0x55cdeaaab010:[err:data=NULL]) = -1 . bconcat (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . bconcat (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab0d0[c]:"") = -1 . bconcat (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0d0[c]:"") = -1 . bconcat (0x55cdebe16290[p]:"", 0x55cdeaaab0d0[c]:"") = 0x55cdebe16290[p]:"" . bconcat (0x55cdebe16290:"", 0x55cdeaaab0d0[c]:"") = 0x55cdebe16290:"" . bconcat (0x55cdebe16290[p]:"", 0x55cdeaaab0c0[c]:"bogus") = 0x55cdebe16290[p]:"" . bconcat (0x55cdebe16290:"", 0x55cdeaaab0c0[c]:"bogus") = 0x55cdebe16290:"bogus" . bconcat (0x55cdebe16290[p]:"bogus", 0x55cdeaaab0d0[c]:"") = 0x55cdebe16290[p]:"bogus" . bconcat (0x55cdebe16290:"bogus", 0x55cdeaaab0d0[c]:"") = 0x55cdebe16290:"bogus" . bconcat (0x55cdebe16290[p]:"bogus", 0x55cdeaaab0c0[c]:"bogus") = 0x55cdebe16290[p]:"bogus" . bconcat (0x55cdebe16290:"bogus", 0x55cdeaaab0c0[c]:"bogus") = 0x55cdebe16290:"bogusbogus" TEST: bconcat aliasing # failures: 0 TEST: int bconchar (bstring b, char c); . bconchar (NULL, x) = -1 . bconchar (0x55cdeaaab010:[err:data=NULL], x) = -1 . bconchar (0x55cdeaaab0a0:[err:slen=-5<0], x) = -1 . bconchar (0x55cdeaaab0d0[c]:"", x) = 0x55cdebe16d30[p]:"" . bconchar (0x55cdeaaab0d0[c]:"", x) = 0x55cdebe16d30:"x" . bconchar (0x55cdeaaab0c0[c]:"bogus", x) = 0x55cdebe16d30[p]:"bogus" . bconchar (0x55cdeaaab0c0[c]:"bogus", x) = 0x55cdebe16d30:"bogusx" # failures: 0 TEST: int biseq (const_bstring b0, const_bstring b1); . biseq (NULL, NULL) = -1 . biseq (0x55cdeaaab0d0[c]:"", NULL) = -1 . biseq (NULL, 0x55cdeaaab0d0[c]:"") = -1 . biseq (0x55cdeaaab0c0[c]:"bogus", NULL) = -1 . biseq (NULL, 0x55cdeaaab0c0[c]:"bogus") = -1 . biseq (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab010:[err:data=NULL]) = -1 . biseq (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . biseq (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . biseq (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0c0[c]:"bogus") = -1 . biseq (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0d0[c]:"") = 1 . biseq (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0d0[c]:"") = 0 . biseq (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0c0[c]:"bogus") = 0 . biseq (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0c0[c]:"bogus") = 1 . biseq (0x55cdebe16d30:"bpgus", 0x55cdeaaab0c0[c]:"bogus") = 0 . biseq (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0 . biseq (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x55cdeaaab0c0[c]:"bogus") = 0 # failures: 0 TEST: int bstrcmp (const_bstring b0, const_bstring b1); . bstrcmp (NULL, NULL) = -32768 . bstrcmp (0x55cdeaaab0d0[c]:"", NULL) = -32768 . bstrcmp (NULL, 0x55cdeaaab0d0[c]:"") = -32768 . bstrcmp (0x55cdeaaab0c0[c]:"bogus", NULL) = -32768 . bstrcmp (NULL, 0x55cdeaaab0c0[c]:"bogus") = -32768 . bstrcmp (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab010:[err:data=NULL]) = -32768 . bstrcmp (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0a0:[err:slen=-5<0]) = -32768 . bstrcmp (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0a0:[err:slen=-5<0]) = -32768 . bstrcmp (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0c0[c]:"bogus") = -32768 . bstrcmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0d0[c]:"") = 0 . bstrcmp (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0d0[c]:"") = 1 . bstrcmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0c0[c]:"bogus") = -1 . bstrcmp (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0c0[c]:"bogus") = 0 . bstrcmp (0x55cdebe16d30:"bpgus", 0x55cdeaaab0c0[c]:"bogus") = 1 . bstrcmp (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 14 . bstrcmp (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x55cdeaaab0c0[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 (0x55cdeaaab0d0[c]:"", NULL, 0) = -32768 . bstrncmp (NULL, 0x55cdeaaab0d0[c]:"", 0) = -32768 . bstrncmp (0x55cdeaaab0d0[c]:"", NULL, 1) = -32768 . bstrncmp (NULL, 0x55cdeaaab0d0[c]:"", 1) = -32768 . bstrncmp (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab010:[err:data=NULL], 1) = -32768 . bstrncmp (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0a0:[err:slen=-5<0], 1) = -32768 . bstrncmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab010:[err:data=NULL], 1) = -32768 . bstrncmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0a0:[err:slen=-5<0], 1) = -32768 . bstrncmp (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab0d0[c]:"", 1) = -32768 . bstrncmp (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0d0[c]:"", 1) = -32768 . bstrncmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0d0[c]:"", -1) = 0 . bstrncmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0d0[c]:"", 0) = 0 . bstrncmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0d0[c]:"", 1) = 0 . bstrncmp (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0c0[c]:"bogus", -1) = 0 . bstrncmp (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0c0[c]:"bogus", 0) = 0 . bstrncmp (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0c0[c]:"bogus", 1) = 0 . bstrncmp (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0c0[c]:"bogus", 9) = 0 # failures: 0 TEST: int bdestroy (const_bstring b); . bdestroy (NULL) = -1 . bdestroy (0x55cdebe16290[p]:"") = -1 . bdestroy (0x55cdebe16d30[p]:"bogus") = -1 . bdestroy (0x55cdebe16290:"") = 0 . bdestroy (0x55cdebe16d30:"bogus") = 0 . bdestroy (0x55cdeaaab0d0[c]:"") = -1 . bdestroy (0x55cdeaaab0d0[c]:"") = -1 . bdestroy (0x55cdeaaab0c0[c]:"bogus") = -1 . bdestroy (0x55cdeaaab0c0[c]:"bogus") = -1 . bdestroy (0x55cdeaaab010:[err:data=NULL]) = -1 . bdestroy (0x55cdeaaab0a0:[err:slen=-5<0]) = -1 # failures: 0 TEST: int binstr (const_bstring s1, int pos, const_bstring s2); . binstr (NULL, 0, NULL) = -1 . binstr (0x55cdeaaab0d0[c]:"", 0, NULL) = -1 . binstr (NULL, 0, 0x55cdeaaab0d0[c]:"") = -1 . binstr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binstr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binstr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0d0[c]:"") = -1 . binstr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab0d0[c]:"") = -1 . binstr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binstr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binstr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0d0[c]:"") = 0 . binstr (0x55cdeaaab0d0[c]:"", 1, 0x55cdeaaab0d0[c]:"") = -1 . binstr (0x55cdeaaab0c0[c]:"bogus", 1, 0x55cdeaaab0c0[c]:"bogus") = -1 . binstr (0x55cdeaaab0c0[c]:"bogus", 5, 0x55cdeaaab0d0[c]:"") = 5 . binstr (0x55cdeaaab0c0[c]:"bogus", -1, 0x55cdeaaab0c0[c]:"bogus") = -1 . binstr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus") = 0 . binstr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdebe16d30:"bogus") = 0 . binstr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdebe16d30:"BOGUS") = -1 . binstr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x55cdeaaab0c0[c]:"bogus") = 10 . binstr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x55cdeaaab0c0[c]:"bogus") = -1 . binstr (0x55cdebe16290:"sssssssssap", 0, 0x55cdebe16d30:"sap") = 8 . binstr (0x55cdebe16290:"sssssssssap", 3, 0x55cdebe16d30:"sap") = 8 . binstr (0x55cdebe16290:"ssssssssssap", 3, 0x55cdebe16d30:"sap") = 9 . binstr (0x55cdebe16290:"sssssssssap", 0, 0x55cdebe16d30:"s") = 0 . binstr (0x55cdebe16290:"sssssssssap", 3, 0x55cdebe16d30:"s") = 3 . binstr (0x55cdebe16290:"sssssssssap", 0, 0x55cdebe16d30:"a") = 9 . binstr (0x55cdebe16290:"sssssssssap", 5, 0x55cdebe16d30:"a") = 9 . binstr (0x55cdebe16290:"sasasasasap", 0, 0x55cdebe16d30:"sap") = 8 . binstr (0x55cdebe16290:"ssasasasasap", 0, 0x55cdebe16d30:"sap") = 9 TEST: int binstrcaseless (const_bstring s1, int pos, const_bstring s2); . binstrcaseless (NULL, 0, NULL) = -1 . binstrcaseless (0x55cdeaaab0d0[c]:"", 0, NULL) = -1 . binstrcaseless (NULL, 0, 0x55cdeaaab0d0[c]:"") = -1 . binstrcaseless (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binstrcaseless (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binstrcaseless (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0d0[c]:"") = -1 . binstrcaseless (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab0d0[c]:"") = -1 . binstrcaseless (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binstrcaseless (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binstrcaseless (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0d0[c]:"") = 0 . binstrcaseless (0x55cdeaaab0d0[c]:"", 1, 0x55cdeaaab0d0[c]:"") = -1 . binstrcaseless (0x55cdeaaab0c0[c]:"bogus", 1, 0x55cdeaaab0c0[c]:"bogus") = -1 . binstrcaseless (0x55cdeaaab0c0[c]:"bogus", 5, 0x55cdeaaab0d0[c]:"") = 5 . binstrcaseless (0x55cdeaaab0c0[c]:"bogus", -1, 0x55cdeaaab0c0[c]:"bogus") = -1 . binstrcaseless (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus") = 0 . binstrcaseless (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdebe16d30:"bogus") = 0 . binstrcaseless (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdebe16d30:"BOGUS") = 0 . binstrcaseless (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x55cdeaaab0c0[c]:"bogus") = 10 . binstrcaseless (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x55cdeaaab0c0[c]:"bogus") = -1 # failures: 0 TEST: int binstrr (const_bstring s1, int pos, const_bstring s2); . binstrr (NULL, 0, NULL) = -1 . binstrr (0x55cdeaaab0d0[c]:"", 0, NULL) = -1 . binstrr (NULL, 0, 0x55cdeaaab0d0[c]:"") = -1 . binstrr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binstrr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binstrr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0d0[c]:"") = -1 . binstrr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab0d0[c]:"") = -1 . binstrr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binstrr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binstrr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0d0[c]:"") = 0 . binstrr (0x55cdeaaab0d0[c]:"", 1, 0x55cdeaaab0d0[c]:"") = -1 . binstrr (0x55cdeaaab0c0[c]:"bogus", 1, 0x55cdeaaab0c0[c]:"bogus") = 0 . binstrr (0x55cdeaaab0c0[c]:"bogus", 5, 0x55cdeaaab0d0[c]:"") = 5 . binstrr (0x55cdeaaab0c0[c]:"bogus", -1, 0x55cdeaaab0c0[c]:"bogus") = -1 . binstrr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus") = 0 . binstrr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdebe16d30:"bogus") = 0 . binstrr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdebe16d30:"BOGUS") = -1 . binstrr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x55cdeaaab0c0[c]:"bogus") = -1 . binstrr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x55cdeaaab0c0[c]:"bogus") = 10 TEST: int binstrrcaseless (const_bstring s1, int pos, const_bstring s2); . binstrrcaseless (NULL, 0, NULL) = -1 . binstrrcaseless (0x55cdeaaab0d0[c]:"", 0, NULL) = -1 . binstrrcaseless (NULL, 0, 0x55cdeaaab0d0[c]:"") = -1 . binstrrcaseless (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binstrrcaseless (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binstrrcaseless (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0d0[c]:"") = -1 . binstrrcaseless (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab0d0[c]:"") = -1 . binstrrcaseless (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binstrrcaseless (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binstrrcaseless (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0d0[c]:"") = 0 . binstrrcaseless (0x55cdeaaab0d0[c]:"", 1, 0x55cdeaaab0d0[c]:"") = -1 . binstrrcaseless (0x55cdeaaab0c0[c]:"bogus", 1, 0x55cdeaaab0c0[c]:"bogus") = 0 . binstrrcaseless (0x55cdeaaab0c0[c]:"bogus", 5, 0x55cdeaaab0d0[c]:"") = 5 . binstrrcaseless (0x55cdeaaab0c0[c]:"bogus", -1, 0x55cdeaaab0c0[c]:"bogus") = -1 . binstrrcaseless (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus") = 0 . binstrrcaseless (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdebe16d30:"bogus") = 0 . binstrrcaseless (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdebe16d30:"BOGUS") = 0 . binstrrcaseless (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x55cdeaaab0c0[c]:"bogus") = -1 . binstrrcaseless (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x55cdeaaab0c0[c]:"bogus") = 10 # failures: 0 TEST: int binchr (const_bstring s1, int pos, const_bstring s2); . binchr (NULL, 0, NULL) = -1 . binchr (0x55cdeaaab0d0[c]:"", 0, NULL) = -1 . binchr (NULL, 0, 0x55cdeaaab0d0[c]:"") = -1 . binchr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binchr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binchr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0d0[c]:"") = -1 . binchr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab0d0[c]:"") = -1 . binchr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binchr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binchr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0d0[c]:"") = -1 . binchr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0d0[c]:"") = -1 . binchr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus") = 0 . binchr (0x55cdeaaab0c0[c]:"bogus", 0, 0x7ffeec7b89e0[c]:"ooooo") = 1 . binchr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdebe16d30:"bogus") = 0 . binchr (0x55cdeaaab0c0[c]:"bogus", -1, 0x55cdeaaab0c0[c]:"bogus") = -1 . binchr (0x55cdeaaab0c0[c]:"bogus", 10, 0x55cdeaaab0c0[c]:"bogus") = -1 . binchr (0x55cdeaaab0c0[c]:"bogus", 1, 0x55cdeaaab0c0[c]:"bogus") = 1 . binchr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0c0[c]:"bogus") = -1 . binchr (0x55cdeaaab080[c]:"xxxxx", 0, 0x55cdeaaab0c0[c]:"bogus") = -1 . binchr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x55cdeaaab0c0[c]:"bogus") = 3 . binchr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x55cdeaaab0c0[c]:"bogus") = 10 # failures: 0 TEST: int binchrr (const_bstring s1, int pos, const_bstring s2); . binchrr (NULL, 0, NULL) = -1 . binchrr (0x55cdeaaab0d0[c]:"", 0, NULL) = -1 . binchrr (NULL, 0, 0x55cdeaaab0d0[c]:"") = -1 . binchrr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0d0[c]:"") = -1 . binchrr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0d0[c]:"") = -1 . binchrr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binchrr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binchrr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0d0[c]:"") = -1 . binchrr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab0d0[c]:"") = -1 . binchrr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . binchrr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . binchrr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus") = 0 . binchrr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdebe16d30:"bogus") = 0 . binchrr (0x55cdeaaab0c0[c]:"bogus", -1, 0x55cdeaaab0c0[c]:"bogus") = -1 . binchrr (0x55cdeaaab0c0[c]:"bogus", 5, 0x55cdeaaab0c0[c]:"bogus") = 4 . binchrr (0x55cdeaaab0c0[c]:"bogus", 4, 0x55cdeaaab0c0[c]:"bogus") = 4 . binchrr (0x55cdeaaab0c0[c]:"bogus", 1, 0x55cdeaaab0c0[c]:"bogus") = 1 . binchrr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0c0[c]:"bogus") = -1 . binchrr (0x55cdeaaab080[c]:"xxxxx", 4, 0x55cdeaaab0c0[c]:"bogus") = -1 . binchrr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x55cdeaaab0c0[c]:"bogus") = -1 . binchrr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x55cdeaaab0c0[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, 0x55cdeaaab0d0[c]:"", 3F) = -1 . bsetstr (0x55cdeaaab010:[err:data=NULL], 0, NULL, 3F) = -1 . bsetstr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab010:[err:data=NULL], 3F) = -1 . bsetstr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab010:[err:data=NULL], 3F) = -1 . bsetstr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0d0[c]:"", 3F) = -1 . bsetstr (0x55cdeaaab0a0:[err:slen=-5<0], 0, NULL, 3F) = -1 . bsetstr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab0a0:[err:slen=-5<0], 3F) = -1 . bsetstr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0a0:[err:slen=-5<0], 3F) = -1 . bsetstr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab0d0[c]:"", 3F) = -1 . bsetstr (0x55cdebe16d30[p]:"", 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30[p]:"" . bsetstr (0x55cdebe16d30:"", 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30:"" . bsetstr (0x55cdebe16d30[p]:"", 5, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30[p]:"" . bsetstr (0x55cdebe16d30:"", 5, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30:"?????" . bsetstr (0x55cdebe16d30[p]:"", 5, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"" . bsetstr (0x55cdebe16d30:"", 5, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"?????bogus" . bsetstr (0x55cdebe16d30[p]:"bogus", 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30[p]:"bogus" . bsetstr (0x55cdebe16d30:"bogus", 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30:"bogus" . bsetstr (0x55cdebe16d30[p]:"", 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"" . bsetstr (0x55cdebe16d30:"", 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"bogus" . bsetstr (0x55cdebe16d30[p]:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"bogus" . bsetstr (0x55cdebe16d30:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"bogus" . bsetstr (0x55cdebe16d30[p]:"bogus", -1, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"bogus" . bsetstr (0x55cdebe16d30:"bogus", -1, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"bogus" . bsetstr (0x55cdebe16d30[p]:"bogus", 2, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"bogus" . bsetstr (0x55cdebe16d30:"bogus", 2, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"bobogus" . bsetstr (0x55cdebe16d30[p]:"bogus", 6, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"bogus" . bsetstr (0x55cdebe16d30:"bogus", 6, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"bogus?bogus" . bsetstr (0x55cdeaaab0c0[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, 0x55cdeaaab0d0[c]:"", 3F) = -1 . binsert (0x55cdeaaab010:[err:data=NULL], 0, NULL, 3F) = -1 . binsert (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab010:[err:data=NULL], 3F) = -1 . binsert (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab010:[err:data=NULL], 3F) = -1 . binsert (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0d0[c]:"", 3F) = -1 . binsert (0x55cdeaaab0a0:[err:slen=-5<0], 0, NULL, 3F) = -1 . binsert (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab0a0:[err:slen=-5<0], 3F) = -1 . binsert (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0a0:[err:slen=-5<0], 3F) = -1 . binsert (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0x55cdeaaab0d0[c]:"", 3F) = -1 . binsert (0x55cdebe16d30[p]:"", 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30[p]:"" . binsert (0x55cdebe16d30:"", 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30:"" . binsert (0x55cdebe16d30[p]:"", 5, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30[p]:"" . binsert (0x55cdebe16d30:"", 5, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30:"?????" . binsert (0x55cdebe16d30[p]:"", 5, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"" . binsert (0x55cdebe16d30:"", 5, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"?????bogus" . binsert (0x55cdebe16d30[p]:"bogus", 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30[p]:"bogus" . binsert (0x55cdebe16d30:"bogus", 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe16d30:"bogus" . binsert (0x55cdebe16d30[p]:"", 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"" . binsert (0x55cdebe16d30:"", 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"bogus" . binsert (0x55cdebe16d30[p]:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"bogus" . binsert (0x55cdebe16d30:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"bogusbogus" . binsert (0x55cdebe16d30[p]:"bogus", -1, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"bogus" . binsert (0x55cdebe16d30:"bogus", -1, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"bogus" . binsert (0x55cdebe16d30[p]:"bogus", 2, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"bogus" . binsert (0x55cdebe16d30:"bogus", 2, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"bobogusgus" . binsert (0x55cdebe16d30[p]:"bogus", 6, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30[p]:"bogus" . binsert (0x55cdebe16d30:"bogus", 6, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe16d30:"bogus?bogus" . binsert (0x55cdeaaab0c0[c]:"bogus", 6, NULL, 3F) = -1 . binsert (0x55cdebe16d30:"aaaaabbbbb", 2, 0x7ffeec7b89e0[c]:"abbbbb", '?') = 0x55cdebe16d30:"aaabbbaaab" (Alias test) # failures: 0 TEST: int bdelete (bstring s1, int pos, int len); . bdelete (NULL, 0, 0) = -1 . bdelete (0x55cdeaaab010:[err:data=NULL], 0, 0) = -1 . bdelete (0x55cdeaaab0a0:[err:slen=-5<0], 0, 0) = -1 . bdelete (0x55cdebe16290[p]:"", 0, 0) = 0x55cdebe16290[p]:"" . bdelete (0x55cdebe16290:"", 0, 0) = 0x55cdebe16290:"" . bdelete (0x55cdebe16290[p]:"bogus", 1, 3) = 0x55cdebe16290[p]:"bogus" . bdelete (0x55cdebe16290:"bogus", 1, 3) = 0x55cdebe16290:"bs" . bdelete (0x55cdebe16290[p]:"bogus", -1, 3) = 0x55cdebe16290[p]:"bogus" . bdelete (0x55cdebe16290:"bogus", -1, 3) = 0x55cdebe16290:"gus" . bdelete (0x55cdebe16290[p]:"bogus", 1, -3) = 0x55cdebe16290[p]:"bogus" . bdelete (0x55cdebe16290:"bogus", 1, -3) = 0x55cdebe16290:"bogus" . bdelete (0x55cdebe16290[p]:"bogus", 3, 9) = 0x55cdebe16290[p]:"bogus" . bdelete (0x55cdebe16290:"bogus", 3, 9) = 0x55cdebe16290:"bog" . bdelete (0x55cdebe16290[p]:"bogus", 3, 1) = 0x55cdebe16290[p]:"bogus" . bdelete (0x55cdebe16290:"bogus", 3, 1) = 0x55cdebe16290:"bogs" . bdelete (0x55cdebe16290[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 4, 300) = 0x55cdebe16290[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bdelete (0x55cdebe16290:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 4, 300) = 0x55cdebe16290:"This" # failures: 0 TEST: int balloc (bstring s, int len); . balloc (NULL, 2) = -1 . balloc (0x55cdeaaab010:[err:data=NULL], 2) = -1 . balloc (0x55cdeaaab0a0:[err:slen=-5<0], 2) = -1 . balloc (0x55cdebe16290:"test", 2) = 0 . balloc (0x55cdebe16290:"test", -1) = -1 . balloc (0x55cdebe16290:"test", 9) = 0 . balloc (0x55cdebe16290:"test", 2) = 0 . balloc (0x55cdebe16290[p]:"test", 4) = -1 . balloc (0x55cdebe16290:"test", 2) = 0 . balloc (0x55cdeaaab0d0[c]:"", 9) = -1 # failures: 0 TEST: int ballocmin (bstring s, int len); . ballocmin (NULL, 2) = [1338] -1 . ballocmin (0x55cdeaaab010:[err:data=NULL], 2) = [1338] -1 . ballocmin (0x55cdeaaab0a0:[err:slen=-5<0], 2) = [1338] -1 . ballocmin (0x55cdebe16290:"test", 2) = [1338] 0 . ballocmin (0x55cdebe16290:"test", -1) = [1338] -1 . ballocmin (0x55cdebe16290:"test", 9) = [1338] 0 . ballocmin (0x55cdebe16290:"test", 2) = [1338] 0 . ballocmin (0x55cdebe16290:"test", 9) = [1338] 0 . ballocmin (0x55cdebe16290[p]:"test", 4) = [1338] -1 . ballocmin (0x55cdebe16290:"test", 2) = [1338] 0 . ballocmin (0x55cdeaaab0d0[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 (0x55cdeaaab010:[err:data=NULL], 5) = -1 . bpattern (0x55cdeaaab0a0:[err:slen=-5<0], 5) = -1 . bpattern (0x55cdebe16290:"", 0) = 0x55cdebe16290:"" . bpattern (0x55cdebe16d70:"", 10) = 0x55cdebe16d70:"" . bpattern (0x55cdebe16860:"", -1) = 0x55cdebe16860:"" . bpattern (0x55cdebe17b90:"bogus", 0) = 0x55cdebe17b90:"" . bpattern (0x55cdebe17bd0:"bogus", 12) = 0x55cdebe17bd0:"bogusbogusbo" . bpattern (0x55cdebe17c10:"bogus", -1) = 0x55cdebe17c10:"bogus" # failures: 0 TEST: bstring bformat (const char * fmt, ...); . bformat (NULL, 1, 2) = NULL . bformat ("%d %s", 1, "xy") = 0x55cdebe17c50:"1 xy" . bformat ("%d %s(%s)", 6, 0x55cdebe17c90:"1 xy", 0x55cdeaaab0c0[c]:"bogus") = 0x55cdebe17c50:"6 1 xy(bogus)" . bformat ("%s%s%s%s%s%s%s%s", ...) ... # failures: 0 TEST: int bformata (bstring b, const char * fmt, ...); . bformata (0x55cdebe17c50:"", NULL, 1, 2) = -1 . bformata (0x55cdeaaab010:[err:data=NULL], "%d %d", 1, 2) = -1 . bformata (0x55cdebe17c50:"", "%d %d", 1, 2) = 0x55cdebe17c50:"1 2" . bformata ("x", "%s%s%s%s%s%s%s%s", ...) ... # failures: 0 TEST: int bassignformat (bstring b, const char * fmt, ...); . bassignformat (0x55cdebe17c50:"Initial", NULL, 1, 2) = -1 . bassignformat (0x55cdeaaab010:[err:data=NULL], "%d %d", 1, 2) = -1 . bassignformat (0x55cdebe17c50:"Initial", "%d %d", 1, 2) = 0x55cdebe17c50:"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 (0x55cdeaaab010:[err:data=NULL], '?') = (nil) . bsplit (0x55cdeaaab0a0:[err:slen=-5<0], '?') = (nil) . bsplit (0x55cdeaaab0d0[c]:"", '?') = {0x55cdebe17c70:"":<1>} . bsplit (0x55cdeaaab0c0[c]:"bogus", 'o') = {0x55cdebe17c70:"b", 0x55cdebe17cb0:"gus":<2>} . bsplit (0x55cdeaaab0c0[c]:"bogus", 's') = {0x55cdebe17cb0:"bogu", 0x55cdebe17c90:"":<2>} . bsplit (0x55cdeaaab0c0[c]:"bogus", 'b') = {0x55cdebe17c90:"", 0x55cdebe17cb0:"ogus":<2>} . bsplit (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 'o') = {0x55cdebe17cb0:"This is a b", 0x55cdebe17c90:"gus but reas", 0x55cdebe18920:"nably l", 0x55cdebe18960:"ng string. Just l", 0x55cdebe189d0:"ng en", 0x55cdebe18a10:"ugh t", 0x55cdebe18a50:" cause s", 0x55cdebe18a90:"me mall", 0x55cdebe18b60:"cing.":<9>} . bsplit (0x7ffeec7b89b0[c]:",,,,", ',') = {0x55cdebe18940:"", 0x55cdebe18900:"", 0x55cdebe17c70:"", 0x55cdebe17c50:"", 0x55cdebe18a70:"":<5>} TEST: struct bstrList * bsplitstr (bstring str, const_bstring splitStr); . bsplitstr (NULL, NULL) = (nil) . bsplitstr (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab0d0[c]:"") = (nil) . bsplitstr (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0d0[c]:"") = (nil) . bsplitstr (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0d0[c]:"") = {0x55cdebe18940:"b", 0x55cdebe18ab0:"o", 0x55cdebe18b80:"g", 0x55cdebe18920:"u", 0x55cdebe18ba0:"s":<5>} . bsplitstr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8990[c]:"is") = {0x55cdebe18940:"Th", 0x55cdebe18a10:" ", 0x55cdebe18a50:" a bogus but reasonably long string. Just long enough to cause some mallocing.":<3>} . bsplitstr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b89a0[c]:"ng") = {0x55cdebe18a50:"This is a bogus but reasonably lo", 0x55cdebe18a10:" stri", 0x55cdebe18940:". Just lo", 0x55cdebe18a70:" enough to cause some malloci", 0x55cdebe17cb0:".":<5>} # failures: 0 TEST: extern struct bstrList * bsplits (const_bstring str, const_bstring splitStr); . bsplits (NULL, 0x7ffeec7b8970[c]:"o") = (nil) . bsplits (0x7ffeec7b8970[c]:"o", NULL) = (nil) . bsplits (0x55cdeaaab0d0[c]:"", 0x7ffeec7b8970[c]:"o") {0x55cdebe18920:"":<1>} . bsplits (0x55cdeaaab0d0[c]:"", 0x7ffeec7b89b0[c]:"uo") {0x55cdebe18920:"":<1>} . bsplits (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0d0[c]:"") {0x55cdebe18920:"bogus":<1>} . bsplits (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8970[c]:"o") {0x55cdebe18920:"b", 0x55cdebe18b60:"gus":<2>} . bsplits (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8980[c]:"s") {0x55cdebe18b60:"bogu", 0x55cdebe18920:"":<2>} . bsplits (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8990[c]:"b") {0x55cdebe18920:"", 0x55cdebe18b60:"ogus":<2>} . bsplits (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89a0[c]:"bs") {0x55cdebe18b60:"", 0x55cdebe18920:"ogu", 0x55cdebe16de0:"":<3>} . bsplits (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8970[c]:"o") {0x55cdebe16de0:"This is a b", 0x55cdebe18920:"gus but reas", 0x55cdebe18b60:"nably l", 0x55cdebe18ea0:"ng string. Just l", 0x55cdebe18a80:"ng en", 0x55cdebe17c90:"ugh t", 0x55cdebe18900:" cause s", 0x55cdebe18940:"me mall", 0x55cdebe18960:"cing.":<9>} . bsplits (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89b0[c]:"uo") {0x55cdebe18b60:"b", 0x55cdebe18920:"g", 0x55cdebe16de0:"s":<3>} # failures: 0 TEST: bstream integrated test . bsbufflength (bs, 0) -> 1024 . bspeek () -> 0x55cdebe18fc0:"" . bsreadln ('?') -> 0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsunread (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") . bspeek () -> 0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('?') -> 0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('.') -> 0x55cdebe18fc0:"This is a bogus but reasonably long string." . bsunread (0x55cdebe18fc0:"This is a bogus but reasonably long string.") . bspeek () -> 0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('.') -> 0x55cdebe18fc0:"This is a bogus but reasonably long string." . bssplitscb (' ') -> 0x55cdebe18fc0:"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 (0x55cdeaaab0d0[c]:"", 0, NULL) = -1 . bninchr (NULL, 0, 0x55cdeaaab0d0[c]:"") = -1 . bninchr (0x55cdeaaab0c0[c]:"bogus", 3, 0x55cdeaaab010:[err:data=NULL]) = -1 . bninchr (0x55cdeaaab010:[err:data=NULL], 3, 0x55cdeaaab0c0[c]:"bogus") = -1 . bninchr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0d0[c]:"") = -1 . bninchr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0d0[c]:"") = -1 . bninchr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus") = -1 . bninchr (0x55cdeaaab0c0[c]:"bogus", 1, 0x55cdeaaab0c0[c]:"bogus") = -1 . bninchr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3, 0x55cdeaaab0c0[c]:"bogus") = 4 . bninchr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3, 0x55cdebe18fc0:"bogus") = 4 . bninchr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", -1, 0x55cdeaaab0c0[c]:"bogus") = -1 . bninchr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 1000, 0x55cdeaaab0c0[c]:"bogus") = -1 . bninchr (0x55cdeaaab080[c]:"xxxxx", 0, 0x55cdeaaab0c0[c]:"bogus") = 0 . bninchr (0x55cdeaaab080[c]:"xxxxx", 1, 0x55cdeaaab0c0[c]:"bogus") = 1 . bninchr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0c0[c]:"bogus") = -1 . bninchr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x55cdeaaab0c0[c]:"bogus") = 0 . bninchr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x55cdeaaab0c0[c]:"bogus") = 15 # failures: 0 TEST: int bninchrr (const_bstring s1, int pos, const_bstring s2); . bninchrr (NULL, 0, NULL) = -1 . bninchrr (0x55cdeaaab0d0[c]:"", 0, NULL) = -1 . bninchrr (NULL, 0, 0x55cdeaaab0d0[c]:"") = -1 . bninchrr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0d0[c]:"") = -1 . bninchrr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0d0[c]:"") = -1 . bninchrr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab010:[err:data=NULL]) = -1 . bninchrr (0x55cdeaaab010:[err:data=NULL], 0, 0x55cdeaaab0c0[c]:"bogus") = -1 . bninchrr (0x55cdeaaab0c0[c]:"bogus", 0, 0x55cdeaaab0c0[c]:"bogus") = -1 . bninchrr (0x55cdeaaab0c0[c]:"bogus", 4, 0x55cdeaaab0c0[c]:"bogus") = -1 . bninchrr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x55cdeaaab0c0[c]:"bogus") = 9 . bninchrr (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x55cdebe18fc0:"bogus") = 9 . bninchrr (0x55cdeaaab080[c]:"xxxxx", 4, 0x55cdeaaab0c0[c]:"bogus") = 4 . bninchrr (0x55cdeaaab0d0[c]:"", 0, 0x55cdeaaab0c0[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, 0x55cdeaaab0d0[c]:"", 3F) = -1 . breplace (0x55cdeaaab010:[err:data=NULL], 1, 3, 0x55cdeaaab0c0[c]:"bogus", 3F) = -1 . breplace (0x55cdeaaab0c0[c]:"bogus", 1, 3, 0x55cdeaaab010:[err:data=NULL], 3F) = -1 . breplace (0x55cdebe18fc0[p]:"", 0, 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe18fc0[p]:"" . breplace (0x55cdebe18fc0:"", 0, 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe18fc0:"" . breplace (0x55cdebe18fc0[p]:"", 5, 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe18fc0[p]:"" . breplace (0x55cdebe18fc0:"", 5, 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe18fc0:"?????" . breplace (0x55cdebe18fc0[p]:"", 5, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0[p]:"" . breplace (0x55cdebe18fc0:"", 5, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0:"?????bogus" . breplace (0x55cdebe18fc0[p]:"bogus", 0, 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe18fc0[p]:"bogus" . breplace (0x55cdebe18fc0:"bogus", 0, 0, 0x55cdeaaab0d0[c]:"", 3F) = 0x55cdebe18fc0:"bogus" . breplace (0x55cdebe18fc0[p]:"", 0, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0[p]:"" . breplace (0x55cdebe18fc0:"", 0, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0:"bogus" . breplace (0x55cdebe18fc0[p]:"bogus", 0, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0[p]:"bogus" . breplace (0x55cdebe18fc0:"bogus", 0, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0:"bogusbogus" . breplace (0x55cdebe18fc0[p]:"bogus", 1, 3, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0[p]:"bogus" . breplace (0x55cdebe18fc0:"bogus", 1, 3, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0:"bboguss" . breplace (0x55cdebe18fc0[p]:"bogus", 3, 8, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0[p]:"bogus" . breplace (0x55cdebe18fc0:"bogus", 3, 8, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0:"bogbogus" . breplace (0x55cdebe18fc0[p]:"bogus", -1, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0[p]:"bogus" . breplace (0x55cdebe18fc0:"bogus", -1, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0:"bogus" . breplace (0x55cdebe18fc0[p]:"bogus", 2, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0[p]:"bogus" . breplace (0x55cdebe18fc0:"bogus", 2, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0:"bobogusgus" . breplace (0x55cdebe18fc0[p]:"bogus", 6, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0[p]:"bogus" . breplace (0x55cdebe18fc0:"bogus", 6, 0, 0x55cdeaaab0c0[c]:"bogus", 3F) = 0x55cdebe18fc0:"bogus?bogus" . breplace (0x55cdeaaab0c0[c]:"bogus", 6, 0, NULL, 3F) = -1 # failures: 0 TEST: int bassign (bstring b0, const_bstring b1); . bassign (NULL, NULL) = -1 . bassign (NULL, 0x55cdeaaab0d0[c]:"") = -1 . bassign (0x55cdeaaab0d0[c]:"", NULL) = -1 . bassign (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab0d0[c]:"") = -1 . bassign (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0d0[c]:"") = -1 . bassign (0x55cdeaaab0d0[c]:"", 0x55cdeaaab010:[err:data=NULL]) = -1 . bassign (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . bassign (0x55cdebe18fc0[p]:"", 0x55cdeaaab0d0[c]:"") = 0x55cdebe18fc0[p]:"" . bassign (0x55cdebe18fc0:"", 0x55cdeaaab0d0[c]:"") = 0x55cdebe18fc0:"" . bassign (0x55cdebe18fc0[p]:"", 0x55cdeaaab0c0[c]:"bogus") = 0x55cdebe18fc0[p]:"" . bassign (0x55cdebe18fc0:"", 0x55cdeaaab0c0[c]:"bogus") = 0x55cdebe18fc0:"bogus" . bassign (0x55cdebe18fc0[p]:"bogus", 0x55cdeaaab0d0[c]:"") = 0x55cdebe18fc0[p]:"bogus" . bassign (0x55cdebe18fc0:"bogus", 0x55cdeaaab0d0[c]:"") = 0x55cdebe18fc0:"" . bassign (0x55cdebe18fc0[p]:"bogus", 0x55cdeaaab0c0[c]:"bogus") = 0x55cdebe18fc0[p]:"bogus" . bassign (0x55cdebe18fc0:"bogus", 0x55cdeaaab0c0[c]:"bogus") = 0x55cdebe18fc0:"bogus" # failures: 0 TEST: int bstrchr (const_bstring s1, int c); . bstrchr (NULL, 0) = -1 . bstrchr (0x55cdeaaab010:[err:data=NULL], 98) = -1 . bstrchr (0x55cdeaaab0a0:[err:slen=-5<0], 115) = -1 . bstrchr (0x55cdeaaab0d0[c]:"", 0) = -1 . bstrchr (0x55cdeaaab0c0[c]:"bogus", 0) = -1 . bstrchr (0x55cdeaaab0c0[c]:"bogus", 98) = 0 . bstrchr (0x55cdeaaab0c0[c]:"bogus", 115) = 4 . bstrchr (0x55cdeaaab0c0[c]:"bogus", 113) = -1 . bstrchr (0x55cdeaaab080[c]:"xxxxx", 0) = -1 . bstrchr (0x55cdeaaab080[c]:"xxxxx", 98) = -1 . bstrchr (0x55cdeaaab0b0[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 (0x55cdeaaab010:[err:data=NULL], 98) = -1 . bstrrchr (0x55cdeaaab0a0:[err:slen=-5<0], 115) = -1 . bstrrchr (0x55cdeaaab0d0[c]:"", 0) = -1 . bstrrchr (0x55cdeaaab0c0[c]:"bogus", 0) = -1 . bstrrchr (0x55cdeaaab0c0[c]:"bogus", 98) = 0 . bstrrchr (0x55cdeaaab0c0[c]:"bogus", 115) = 4 . bstrrchr (0x55cdeaaab0c0[c]:"bogus", 113) = -1 . bstrrchr (0x55cdeaaab080[c]:"xxxxx", 0) = -1 . bstrrchr (0x55cdeaaab080[c]:"xxxxx", 98) = -1 . bstrrchr (0x55cdeaaab0b0[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 (0x55cdeaaab010:[err:data=NULL], 98, 0) = -1 . bstrchrp (0x55cdeaaab0a0:[err:slen=-5<0], 115, 0) = -1 . bstrchrp (0x55cdeaaab0c0[c]:"bogus", 98, -1) = -1 . bstrchrp (0x55cdeaaab0c0[c]:"bogus", 98, 5) = -1 . bstrchrp (0x55cdeaaab0d0[c]:"", 0, 0) = -1 . bstrchrp (0x55cdeaaab0c0[c]:"bogus", 0, 0) = -1 . bstrchrp (0x55cdeaaab0c0[c]:"bogus", 98, 0) = 0 . bstrchrp (0x55cdeaaab0c0[c]:"bogus", 98, 1) = -1 . bstrchrp (0x55cdeaaab0c0[c]:"bogus", 115, 0) = 4 . bstrchrp (0x55cdeaaab0c0[c]:"bogus", 113, 0) = -1 TEST: int bstrrchrp (const_bstring s1, int c, int pos); . bstrrchrp (NULL, 0, 0) = -1 . bstrrchrp (0x55cdeaaab010:[err:data=NULL], 98, 0) = -1 . bstrrchrp (0x55cdeaaab0a0:[err:slen=-5<0], 115, 0) = -1 . bstrrchrp (0x55cdeaaab0c0[c]:"bogus", 98, -1) = -1 . bstrrchrp (0x55cdeaaab0c0[c]:"bogus", 98, 5) = -1 . bstrrchrp (0x55cdeaaab0d0[c]:"", 0, 0) = -1 . bstrrchrp (0x55cdeaaab0c0[c]:"bogus", 0, 0) = -1 . bstrrchrp (0x55cdeaaab0c0[c]:"bogus", 98, 0) = 0 . bstrrchrp (0x55cdeaaab0c0[c]:"bogus", 98, 4) = 0 . bstrrchrp (0x55cdeaaab0c0[c]:"bogus", 115, 4) = 4 . bstrrchrp (0x55cdeaaab0c0[c]:"bogus", 115, 0) = -1 # failures: 0 TEST: int bcatcstr (bstring b0, const char * s); . bcatcstr (NULL, (nil)) = -1 . bcatcstr (NULL, 0x55cdea8a60e4) = -1 . bcatcstr (0x55cdebe18fc0[p]:"", (nil)) = 0x55cdebe18fc0[p]:"" . bcatcstr (0x55cdebe18fc0:"", (nil)) = 0x55cdebe18fc0:"" . bcatcstr (0x55cdeaaab010:[err:data=NULL], 0x55cdea8a67f5) = -1 . bcatcstr (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdea8a67f5) = -1 . bcatcstr (0x55cdebe18fc0[p]:"", 0x55cdea8a60e4) = 0x55cdebe18fc0[p]:"" . bcatcstr (0x55cdebe18fc0:"", 0x55cdea8a60e4) = 0x55cdebe18fc0:"" . bcatcstr (0x55cdebe18fc0[p]:"", 0x55cdea8a67f5) = 0x55cdebe18fc0[p]:"" . bcatcstr (0x55cdebe18fc0:"", 0x55cdea8a67f5) = 0x55cdebe18fc0:"bogus" . bcatcstr (0x55cdebe18fc0[p]:"bogus", 0x55cdea8a60e4) = 0x55cdebe18fc0[p]:"bogus" . bcatcstr (0x55cdebe18fc0:"bogus", 0x55cdea8a60e4) = 0x55cdebe18fc0:"bogus" . bcatcstr (0x55cdebe18fc0[p]:"bogus", 0x55cdea8a67f5) = 0x55cdebe18fc0[p]:"bogus" . bcatcstr (0x55cdebe18fc0:"bogus", 0x55cdea8a67f5) = 0x55cdebe18fc0:"bogusbogus" # failures: 0 TEST: int bcatblk (bstring b0, const char * s); . bcatblk (NULL, (nil), 0) = -1 . bcatblk (NULL, 0x55cdea8a60e4, 0) = -1 . bcatblk (0x55cdebe18fc0[p]:"", (nil)) = 0x55cdebe18fc0[p]:"" . bcatblk (0x55cdebe18fc0:"", (nil)) = 0x55cdebe18fc0:"" . bcatblk (0x55cdebe18fc0[p]:"", (nil)) = 0x55cdebe18fc0[p]:"" . bcatblk (0x55cdebe18fc0:"", (nil)) = 0x55cdebe18fc0:"" . bcatblk (0x55cdeaaab010:[err:data=NULL], (nil), 0) = -1 . bcatblk (0x55cdeaaab0a0:[err:slen=-5<0], (nil), 0) = -1 . bcatblk (0x55cdebe18fc0[p]:"", 0x55cdea8a60e4) = 0x55cdebe18fc0[p]:"" . bcatblk (0x55cdebe18fc0:"", 0x55cdea8a60e4) = 0x55cdebe18fc0:"" . bcatblk (0x55cdebe18fc0[p]:"", 0x55cdea8a60e4) = 0x55cdebe18fc0[p]:"" . bcatblk (0x55cdebe18fc0:"", 0x55cdea8a60e4) = 0x55cdebe18fc0:"" . bcatblk (0x55cdebe18fc0[p]:"", 0x55cdea8a67f5) = 0x55cdebe18fc0[p]:"" . bcatblk (0x55cdebe18fc0:"", 0x55cdea8a67f5) = 0x55cdebe18fc0:"bogus" . bcatblk (0x55cdebe18fc0[p]:"bogus", 0x55cdea8a60e4) = 0x55cdebe18fc0[p]:"bogus" . bcatblk (0x55cdebe18fc0:"bogus", 0x55cdea8a60e4) = 0x55cdebe18fc0:"bogus" . bcatblk (0x55cdebe18fc0[p]:"bogus", 0x55cdea8a67f5) = 0x55cdebe18fc0[p]:"bogus" . bcatblk (0x55cdebe18fc0:"bogus", 0x55cdea8a67f5) = 0x55cdebe18fc0:"bogusbogus" . bcatblk (0x55cdebe18fc0[p]:"bogus", 0x55cdea8a67f5) = 0x55cdebe18fc0[p]:"bogus" . bcatblk (0x55cdebe18fc0:"bogus", 0x55cdea8a67f5) = 0x55cdebe18fc0:"bogus" # failures: 0 TEST: int bfindreplace (bstring b, const_bstring f, const_bstring r, int pos); . bfindreplace (NULL, NULL, NULL, 0) = -1 . bfindreplace (0x55cdeaaab0c0[c]:"bogus", NULL, 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplace (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8960[c]:"s", NULL, 0) = -1 . bfindreplace (0x55cdeaaab010:[err:data=NULL], 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplace (0x55cdeaaab0a0:[err:slen=-5<0], 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplace (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8940[c]:"funny", 0) = -1 . bfindreplace (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8940[c]:"funny", 0) -> 0x55cdebe18fc0:"This is a funny but reasonably long string. Just long enough to cause some mallocing." . bfindreplace (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplace (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) -> 0x55cdebe18fc0:"Thiweird iweird a boguweird but reaweirdonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplace (0x55cdebe18fc0[p]:"bogus", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplace (0x55cdebe18fc0:"bogus", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) -> 0x55cdebe18fc0:"boguweird" . bfindreplace (0x55cdebe18fc0[p]:"bogus", 0x7ffeec7b89c0[c]:"S", 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplace (0x55cdebe18fc0:"bogus", 0x7ffeec7b89c0[c]:"S", 0x7ffeec7b8950[c]:"weird", 0) -> 0x55cdebe18fc0:"bogus" . bfindreplace (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 27) = -1 . bfindreplace (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 27) -> 0x55cdebe18fc0:"This is a bogus but reasonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplace (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8970[c]:"long", 0x7ffeec7b8980[c]:"big", 0) = -1 . bfindreplace (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8970[c]:"long", 0x7ffeec7b8980[c]:"big", 0) -> 0x55cdebe18fc0:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplace (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b89d0[c]:"LONG", 0x7ffeec7b8980[c]:"big", 0) = -1 . bfindreplace (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b89d0[c]:"LONG", 0x7ffeec7b8980[c]:"big", 0) -> 0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bfindreplace (0x55cdebe18fc0[p]:"sstsst", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8990[c]:"ss", 0) = -1 . bfindreplace (0x55cdebe18fc0:"sstsst", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8990[c]:"ss", 0) -> 0x55cdebe18fc0:"sssstsssst" . bfindreplace (0x55cdebe18fc0[p]:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8990[c]:"ss", 0) = -1 . bfindreplace (0x55cdebe18fc0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8990[c]:"ss", 0) -> 0x55cdebe18fc0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx" TEST: int bfindreplacecaseless (bstring b, const_bstring f, const_bstring r, int pos); . bfindreplacecaseless (NULL, NULL, NULL, 0) = -1 . bfindreplacecaseless (0x55cdeaaab0c0[c]:"bogus", NULL, 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplacecaseless (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8960[c]:"s", NULL, 0) = -1 . bfindreplacecaseless (0x55cdeaaab010:[err:data=NULL], 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplacecaseless (0x55cdeaaab0a0:[err:slen=-5<0], 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplacecaseless (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8940[c]:"funny", 0) = -1 . bfindreplacecaseless (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8940[c]:"funny", 0) -> 0x55cdebe18fc0:"This is a funny but reasonably long string. Just long enough to cause some mallocing." . bfindreplacecaseless (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplacecaseless (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) -> 0x55cdebe18fc0:"Thiweird iweird a boguweird but reaweirdonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplacecaseless (0x55cdebe18fc0[p]:"bogus", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplacecaseless (0x55cdebe18fc0:"bogus", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 0) -> 0x55cdebe18fc0:"boguweird" . bfindreplacecaseless (0x55cdebe18fc0[p]:"bogus", 0x7ffeec7b89c0[c]:"S", 0x7ffeec7b8950[c]:"weird", 0) = -1 . bfindreplacecaseless (0x55cdebe18fc0:"bogus", 0x7ffeec7b89c0[c]:"S", 0x7ffeec7b8950[c]:"weird", 0) -> 0x55cdebe18fc0:"boguweird" . bfindreplacecaseless (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 27) = -1 . bfindreplacecaseless (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8950[c]:"weird", 27) -> 0x55cdebe18fc0:"This is a bogus but reasonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplacecaseless (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8970[c]:"long", 0x7ffeec7b8980[c]:"big", 0) = -1 . bfindreplacecaseless (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b8970[c]:"long", 0x7ffeec7b8980[c]:"big", 0) -> 0x55cdebe18fc0:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplacecaseless (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b89d0[c]:"LONG", 0x7ffeec7b8980[c]:"big", 0) = -1 . bfindreplacecaseless (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x7ffeec7b89d0[c]:"LONG", 0x7ffeec7b8980[c]:"big", 0) -> 0x55cdebe18fc0:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplacecaseless (0x55cdebe18fc0[p]:"sstsst", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8990[c]:"ss", 0) = -1 . bfindreplacecaseless (0x55cdebe18fc0:"sstsst", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8990[c]:"ss", 0) -> 0x55cdebe18fc0:"sssstsssst" . bfindreplacecaseless (0x55cdebe18fc0[p]:"sstsst", 0x7ffeec7b89c0[c]:"S", 0x7ffeec7b8990[c]:"ss", 0) = -1 . bfindreplacecaseless (0x55cdebe18fc0:"sstsst", 0x7ffeec7b89c0[c]:"S", 0x7ffeec7b8990[c]:"ss", 0) -> 0x55cdebe18fc0:"sssstsssst" . bfindreplacecaseless (0x55cdebe18fc0[p]:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8990[c]:"ss", 0) = -1 . bfindreplacecaseless (0x55cdebe18fc0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x7ffeec7b8960[c]:"s", 0x7ffeec7b8990[c]:"ss", 0) -> 0x55cdebe18fc0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx" # failures: 0 TEST: int biseqcstr (const_bstring b, const char * s); . biseqcstr (NULL, (nil):<(null)>) = -1 . biseqcstr (0x55cdeaaab0d0[c]:"", (nil):<(null)>) = -1 . biseqcstr (NULL, 0x55cdea8a60e4:<>) = -1 . biseqcstr (0x55cdeaaab010:[err:data=NULL], 0x55cdea8a60e4:<>) = -1 . biseqcstr (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdea8a67f5:) = -1 . biseqcstr (0x55cdeaaab0d0[c]:"", 0x55cdea8a60e4:<>) = 1 . biseqcstr (0x55cdeaaab0c0[c]:"bogus", 0x55cdea8a67f5:) = 1 . biseqcstr (0x55cdeaaab0d0[c]:"", 0x55cdea8a67f5:) = 0 . biseqcstr (0x55cdeaaab0c0[c]:"bogus", 0x55cdea8a60e4:<>) = 0 . biseqcstr (0x55cdebe18fc0:"bpgus", 0x55cdea8a67f5:) = 0 TEST: int biseqcstrcaseless (const_bstring b, const char * s); . biseqcstrcaseless (NULL, (nil):<(null)>) = -1 . biseqcstrcaseless (0x55cdeaaab0d0[c]:"", (nil):<(null)>) = -1 . biseqcstrcaseless (NULL, 0x55cdea8a60e4:<>) = -1 . biseqcstrcaseless (0x55cdeaaab010:[err:data=NULL], 0x55cdea8a60e4:<>) = -1 . biseqcstrcaseless (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdea8a67f5:) = -1 . biseqcstrcaseless (0x55cdeaaab0d0[c]:"", 0x55cdea8a60e4:<>) = 1 . biseqcstrcaseless (0x55cdeaaab0c0[c]:"bogus", 0x55cdea8a67f5:) = 1 . biseqcstrcaseless (0x55cdeaaab0c0[c]:"bogus", 0x55cdea8a6538:) = 1 . biseqcstrcaseless (0x55cdeaaab0d0[c]:"", 0x55cdea8a67f5:) = 0 . biseqcstrcaseless (0x55cdeaaab0c0[c]:"bogus", 0x55cdea8a60e4:<>) = 0 . biseqcstrcaseless (0x55cdebe18fc0:"bpgus", 0x55cdea8a67f5:) = 0 TEST: int btoupper (bstring b); . btoupper (NULL) = -1 . btoupper (0x55cdeaaab010:[err:data=NULL]) = -1 . btoupper (0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . btoupper (0x55cdebe18fc0[p]:"") = 0x55cdebe18fc0[p]:"" . btoupper (0x55cdebe18fc0:"") = 0x55cdebe18fc0:"" . btoupper (0x55cdebe18fc0[p]:"bogus") = 0x55cdebe18fc0[p]:"bogus" . btoupper (0x55cdebe18fc0:"bogus") = 0x55cdebe18fc0:"BOGUS" . btoupper (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . btoupper (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x55cdebe18fc0:"THIS IS A BOGUS BUT REASONABLY LONG STRING. JUST LONG ENOUGH TO CAUSE SOME MALLOCING." TEST: int btolower (bstring b); . btolower (NULL) = -1 . btolower (0x55cdeaaab010:[err:data=NULL]) = -1 . btolower (0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . btolower (0x55cdebe18fc0[p]:"") = 0x55cdebe18fc0[p]:"" . btolower (0x55cdebe18fc0:"") = 0x55cdebe18fc0:"" . btolower (0x55cdebe18fc0[p]:"bogus") = 0x55cdebe18fc0[p]:"bogus" . btolower (0x55cdebe18fc0:"bogus") = 0x55cdebe18fc0:"bogus" . btolower (0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x55cdebe18fc0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . btolower (0x55cdebe18fc0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x55cdebe18fc0:"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 (0x55cdeaaab0d0[c]:"", NULL) = -32768 . bstricmp (NULL, 0x55cdeaaab0d0[c]:"") = -32768 . bstricmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab010:[err:data=NULL]) = -32768 . bstricmp (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab0d0[c]:"") = -32768 . bstricmp (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0a0:[err:slen=-5<0]) = -32768 . bstricmp (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0c0[c]:"bogus") = -32768 . bstricmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0d0[c]:"") = 0 . bstricmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8aa0[c]:"bOgUs") = 0 . bstricmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8ab0[c]:"bOgUR") = 1 . bstricmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8ac0[c]:"bOgUt") = -1 . bstricmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8aa0[c]:"bOgUs") = -256 . bstricmp (0x7ffeec7b8aa0[c]:"bOgUs", 0x55cdeaaab0c0[c]:"bogus") = 256 TEST: int bstrnicmp (const_bstring b0, const_bstring b1); . bstrnicmp (NULL, NULL, 0) = -32768 . bstrnicmp (0x55cdeaaab0d0[c]:"", NULL, 0) = -32768 . bstrnicmp (NULL, 0x55cdeaaab0d0[c]:"", 0) = -32768 . bstrnicmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab010:[err:data=NULL], 0) = -32768 . bstrnicmp (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab0d0[c]:"", 0) = -32768 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0a0:[err:slen=-5<0], 5) = -32768 . bstrnicmp (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0c0[c]:"bogus", 5) = -32768 . bstrnicmp (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0d0[c]:"", 0) = 0 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89c0[c]:"bOgUs", 0) = 0 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89c0[c]:"bOgUs", 5) = 0 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89c0[c]:"bOgUs", 4) = 0 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89c0[c]:"bOgUs", 6) = 0 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89d0[c]:"bOgUR", 5) = 33 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89d0[c]:"bOgUR", 4) = 0 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89d0[c]:"bOgUR", 6) = 33 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89e0[c]:"bOgUt", 5) = -1 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89e0[c]:"bOgUt", 4) = 0 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89e0[c]:"bOgUt", 6) = -1 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89c0[c]:"bOgUs", 5) = 0 . bstrnicmp (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b89c0[c]:"bOgUs", 6) = -256 . bstrnicmp (0x7ffeec7b89c0[c]:"bOgUs", 0x55cdeaaab0c0[c]:"bogus", 6) = 256 TEST: int biseqcaseless (const_bstring b0, const_bstring b1); . biseqcaseless (NULL, NULL) = -1 . biseqcaseless (0x55cdeaaab0d0[c]:"", NULL) = -1 . biseqcaseless (NULL, 0x55cdeaaab0d0[c]:"") = -1 . biseqcaseless (0x55cdeaaab0d0[c]:"", 0x55cdeaaab010:[err:data=NULL]) = -1 . biseqcaseless (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab0d0[c]:"") = -1 . biseqcaseless (0x55cdeaaab0c0[c]:"bogus", 0x55cdeaaab0a0:[err:slen=-5<0]) = -1 . biseqcaseless (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0c0[c]:"bogus") = -1 . biseqcaseless (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0d0[c]:"") = 1 . biseqcaseless (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8aa0[c]:"bOgUs") = 1 . biseqcaseless (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8ab0[c]:"bOgUR") = 0 . biseqcaseless (0x55cdeaaab0c0[c]:"bogus", 0x7ffeec7b8ac0[c]:"bOgUt") = 0 TEST: bgets/breads test TEST: trim functions . bltrim (0x7ffeec7b8a70[c]:" bogus string ") = 0x55cdebe18f00:"bogus string " . brtrim (0x7ffeec7b8a70[c]:" bogus string ") = 0x55cdebe18f00:" bogus string" . btrim (0x7ffeec7b8a70[c]:" bogus string ") = 0x55cdebe18f00:"bogus string" . bltrim (0x7ffeec7b8a80[c]:"bogus string ") = 0x55cdebe18f00:"bogus string " . brtrim (0x7ffeec7b8a80[c]:"bogus string ") = 0x55cdebe18f00:"bogus string" . btrim (0x7ffeec7b8a80[c]:"bogus string ") = 0x55cdebe18f00:"bogus string" . bltrim (0x7ffeec7b8a90[c]:" bogus string") = 0x55cdebe18f00:"bogus string" . brtrim (0x7ffeec7b8a90[c]:" bogus string") = 0x55cdebe18f00:" bogus string" . btrim (0x7ffeec7b8a90[c]:" bogus string") = 0x55cdebe18f00:"bogus string" . bltrim (0x7ffeec7b8aa0[c]:"bogus string") = 0x55cdebe18f00:"bogus string" . brtrim (0x7ffeec7b8aa0[c]:"bogus string") = 0x55cdebe18f00:"bogus string" . btrim (0x7ffeec7b8aa0[c]:"bogus string") = 0x55cdebe18f00:"bogus string" . bltrim (0x7ffeec7b8ab0[c]:" ") = 0x55cdebe18f00:"" . brtrim (0x7ffeec7b8ab0[c]:" ") = 0x55cdebe18f00:"" . btrim (0x7ffeec7b8ab0[c]:" ") = 0x55cdebe18f00:"" . bltrim (0x7ffeec7b8ac0[c]:"") = 0x55cdebe18f00:"" . brtrim (0x7ffeec7b8ac0[c]:"") = 0x55cdebe18f00:"" . btrim (0x7ffeec7b8ac0[c]:"") = 0x55cdebe18f00:"" TEST: int bassignmidstr (bstring b0, const_bstring b1, int left, int len); . bassignmidstr (NULL, NULL, 0, 1) = -1 . bassignmidstr (NULL, 0x55cdeaaab0d0[c]:"", 0, 1) = -1 . bassignmidstr (0x55cdeaaab0d0[c]:"", NULL, 0, 1) = -1 . bassignmidstr (0x55cdeaaab010:[err:data=NULL], 0x55cdeaaab0d0[c]:"", 0, 1) = -1 . bassignmidstr (0x55cdeaaab0a0:[err:slen=-5<0], 0x55cdeaaab0d0[c]:"", 0, 1) = -1 . bassignmidstr (0x55cdeaaab0d0[c]:"", 0x55cdeaaab010:[err:data=NULL], 0, 1) = -1 . bassignmidstr (0x55cdeaaab0d0[c]:"", 0x55cdeaaab0a0:[err:slen=-5<0], 0, 1) = -1 . bassignmidstr (0x55cdebe18f00[p]:"", 0x55cdeaaab0d0[c]:"", 0, 1) = 0x55cdebe18f00[p]:"" . bassignmidstr (0x55cdebe18f00:"", 0x55cdeaaab0d0[c]:"", 0, 1) = 0x55cdebe18f00:"" . bassignmidstr (0x55cdebe18f00[p]:"", 0x55cdeaaab0c0[c]:"bogus", 1, 3) = 0x55cdebe18f00[p]:"" . bassignmidstr (0x55cdebe18f00:"", 0x55cdeaaab0c0[c]:"bogus", 1, 3) = 0x55cdebe18f00:"ogu" . bassignmidstr (0x55cdebe18f00[p]:"bogus", 0x55cdeaaab0d0[c]:"", 0, 1) = 0x55cdebe18f00[p]:"bogus" . bassignmidstr (0x55cdebe18f00:"bogus", 0x55cdeaaab0d0[c]:"", 0, 1) = 0x55cdebe18f00:"" . bassignmidstr (0x55cdebe18f00[p]:"bogus", 0x55cdeaaab0c0[c]:"bogus", 1, 3) = 0x55cdebe18f00[p]:"bogus" . bassignmidstr (0x55cdebe18f00:"bogus", 0x55cdeaaab0c0[c]:"bogus", 1, 3) = 0x55cdebe18f00:"ogu" . bassignmidstr (0x55cdebe18f00[p]:"bogus", 0x55cdeaaab0c0[c]:"bogus", -1, 4) = 0x55cdebe18f00[p]:"bogus" . bassignmidstr (0x55cdebe18f00:"bogus", 0x55cdeaaab0c0[c]:"bogus", -1, 4) = 0x55cdebe18f00:"bog" . bassignmidstr (0x55cdebe18f00[p]:"bogus", 0x55cdeaaab0c0[c]:"bogus", 1, 9) = 0x55cdebe18f00[p]:"bogus" . bassignmidstr (0x55cdebe18f00:"bogus", 0x55cdeaaab0c0[c]:"bogus", 1, 9) = 0x55cdebe18f00:"ogus" . bassignmidstr (0x55cdebe18f00[p]:"bogus", 0x55cdeaaab0c0[c]:"bogus", 9, 1) = 0x55cdebe18f00[p]:"bogus" . bassignmidstr (0x55cdebe18f00:"bogus", 0x55cdeaaab0c0[c]:"bogus", 9, 1) = 0x55cdebe18f00:"" # failures: 0 TEST: int bmid2tbstr (struct tagbstring &t, const_bstring b1, int left, int len); . bmid2tbstr (NULL, 0, 1) = 0x55cdebe18f00:"" . bmid2tbstr (0x55cdeaaab0d0[c]:"", 0, 1) = 0x55cdebe18a80:"" . bmid2tbstr (NULL, 0, 1) = 0x55cdebe18a80:"" . bmid2tbstr (0x55cdeaaab0d0[c]:"", 0, 1) = 0x55cdebe18f00:"" . bmid2tbstr (0x55cdeaaab0d0[c]:"", 0, 1) = 0x55cdebe18a80:"" . bmid2tbstr (0x55cdeaaab010:[err:data=NULL], 0, 1) = 0x55cdebe18a80:"" . bmid2tbstr (0x55cdeaaab0a0:[err:slen=-5<0], 0, 1) = 0x55cdebe18a80:"" . bmid2tbstr (0x55cdeaaab0d0[c]:"", 0, 1) = 0x55cdebe18f00:"" . bmid2tbstr (0x55cdeaaab0c0[c]:"bogus", 1, 3) = 0x55cdebe18a80:"ogu" . bmid2tbstr (0x55cdeaaab0d0[c]:"", 0, 1) = 0x55cdebe18f00:"" . bmid2tbstr (0x55cdeaaab0c0[c]:"bogus", 1, 3) = 0x55cdebe18a80:"ogu" . bmid2tbstr (0x55cdeaaab0c0[c]:"bogus", -1, 4) = 0x55cdebe18f00:"bog" . bmid2tbstr (0x55cdeaaab0c0[c]:"bogus", 1, 9) = 0x55cdebe18a80:"ogus" . bmid2tbstr (0x55cdeaaab0c0[c]:"bogus", 9, 1) = 0x55cdebe18f00:"" # failures: 0 TEST: int btrunc (bstring b, int n); . btrunc (0x55cdeaaab0d0[c]:"", 10) = 0x55cdebe18f00:"" . btrunc (0x55cdeaaab0d0[c]:"", 0) = 0x55cdebe18f00:"" . btrunc (0x55cdeaaab0d0[c]:"", -1) = 0x55cdebe18f00:"" . btrunc (0x55cdeaaab0c0[c]:"bogus", 10) = 0x55cdebe18f00:"bogus" . btrunc (0x55cdeaaab0c0[c]:"bogus", 3) = 0x55cdebe18f00:"bog" . btrunc (0x55cdeaaab0c0[c]:"bogus", 0) = 0x55cdebe18f00:"" . btrunc (0x55cdeaaab0c0[c]:"bogus", -1) = 0x55cdebe18f00:"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 = 0x55cdebe18f00:"", NULL) = -1; b -> 0x55cdebe18f00:"" . bassigncstr (b = 0x55cdebe18f00:"", "") = 0; b -> 0x55cdebe18f00:"" . bassigncstr (b = 0x55cdebe18f00[p]:"xxxxx", "") = -1; b -> 0x55cdebe18f00[p]:"xxxxx" . bassigncstr (a = 0x55cdeaaab0c0[c]:"bogus", "") = -1; a -> 0x55cdeaaab0c0[c]:"bogus" . bassigncstr (b = 0x55cdebe18f00:"", "bogus") = 0; b -> 0x55cdebe18f00:"bogus" . bassigncstr (b = 0x55cdebe18f00[p]:"xxxxx", "bogus") = -1; b -> 0x55cdebe18f00[p]:"xxxxx" . bassigncstr (a = 0x55cdeaaab0c0[c]:"bogus", "bogus") = -1; a -> 0x55cdeaaab0c0[c]:"bogus" . bassigncstr (b = 0x55cdebe18f00:"", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0; b -> 0x55cdebe18f00:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bassigncstr (b = 0x55cdebe18f00[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = -1; b -> 0x55cdebe18f00[p]:"xxxxx" . bassigncstr (a = 0x55cdeaaab0c0[c]:"bogus", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = -1; a -> 0x55cdeaaab0c0[c]:"bogus" # failures: 0 TEST: int bassignblk (bstring a, const void * s, int len); . bassignblk (b = 0x55cdebe18f00:"", NULL, 1) = -1; b -> 0x55cdebe18f00:"" . bassignblk (b = 0x55cdebe18f00:"", "", 0) = 0; b -> 0x55cdebe18f00:"" . bassignblk (b = 0x55cdebe18f00[p]:"xxxxx", "", 0) = -1; b -> 0x55cdebe18f00[p]:"xxxxx" . bassignblk (a = 0x55cdeaaab0c0[c]:"bogus", "", 0) = -1; a -> 0x55cdeaaab0c0[c]:"bogus" . bassignblk (b = 0x55cdebe18f00:"", "bogus", 5) = 0; b -> 0x55cdebe18f00:"bogus" . bassignblk (b = 0x55cdebe18f00[p]:"xxxxx", "bogus", 5) = -1; b -> 0x55cdebe18f00[p]:"xxxxx" . bassignblk (a = 0x55cdeaaab0c0[c]:"bogus", "bogus", 5) = -1; a -> 0x55cdeaaab0c0[c]:"bogus" . bassignblk (b = 0x55cdebe18f00:"", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = 0; b -> 0x55cdebe18f00:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bassignblk (b = 0x55cdebe18f00[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = -1; b -> 0x55cdebe18f00[p]:"xxxxx" . bassignblk (a = 0x55cdeaaab0c0[c]:"bogus", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = -1; a -> 0x55cdeaaab0c0[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 (0x55cdeaaab0c0[c]:"bogus", 8, "[%d]", ...) -> -1, 0x55cdeaaab0c0[c]:"bogus" (NULL) . bvcformata (0x55cdeaaab010:[err:data=NULL], 8, "[%d]", ...) -> -1, 0x55cdeaaab010:[err:data=NULL] (NULL) . bvcformata (0x55cdeaaab0a0:[err:slen=-5<0], 8, "[%d]", ...) -> -1, 0x55cdeaaab0a0:[err:slen=-5<0] (NULL) . bvcformata (0x55cdeaaab090:[err:mlen=2 -1, 0x55cdeaaab090:[err:mlen=2 0, 0x55cdebe18f00:"bogus" (0x55cdeaaab0c0[c]:"bogus") . bvcformata (0x55cdebe18f00:"bogus", 6, "%s", ...) -> 0, 0x55cdebe18f00:"bogus" (0x55cdeaaab0c0[c]:"bogus") . bvcformata (0x55cdebe18f00:"bogus", 4, "%s", ...) -> -8, 0x55cdebe18f00:"" (NULL) TEST: bvformata (int &ret, bstring b, const char * fmt, lastarg); . bvformata (&, NULL, "[%d]", ...) -> -1, NULL (NULL) . bvformata (&, 0x55cdeaaab0c0[c]:"bogus", "[%d]", ...) -> -1, 0x55cdeaaab0c0[c]:"bogus" (NULL) . bvformata (&, 0x55cdeaaab010:[err:data=NULL], "[%d]", ...) -> -1, 0x55cdeaaab010:[err:data=NULL] (NULL) . bvformata (&, 0x55cdeaaab0a0:[err:slen=-5<0], "[%d]", ...) -> -1, 0x55cdeaaab0a0:[err:slen=-5<0] (NULL) . bvformata (&, 0x55cdeaaab090:[err:mlen=2 -1, 0x55cdeaaab090:[err:mlen=2 0, 0x55cdebe18f00:"bogus" (0x55cdeaaab0c0[c]:"bogus") . bvformata (&, 0x55cdebe18f00:"bogus", "%s", ...) -> 0, 0x55cdebe18f00:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") . bvformata (&, 0x55cdebe18f00:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", "%s%s%s%s%s%s%s%s", ...) -> 0, 0x55cdebe18f00:"WaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterloo" (0x55cdebe18920:"WaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterloo") # failures: 0 TEST: int biseqblk (const_bstring b, const void * blk, int len); . biseqblk (NULL, NULL) = -1 . biseqblk (0x55cdeaaab0d0[c]:"", NULL) = -1 . biseqblk (NULL, cstr[0x55cdea8a60e4] -> "") = -1 . biseqblk (0x55cdeaaab0c0[c]:"bogus", NULL) = -1 . biseqblk (NULL, cstr[0x55cdea8a67f5] -> "bogus") = -1 . biseqblk (0x55cdeaaab010:[err:data=NULL], NULL) = -1 . biseqblk (0x55cdeaaab0a0:[err:slen=-5<0], cstr[0x55cdea8a67f5] -> "bogus") = -1 . biseqblk (0x55cdeaaab0c0[c]:"bogus", cstr[0x55cdea8a67f5] -> "bogus") = -1 . biseqblk (0x55cdeaaab0a0:[err:slen=-5<0], cstr[0x55cdea8a67f5] -> "bogus") = -1 . biseqblk (0x55cdeaaab0d0[c]:"", cstr[0x55cdea8a60e4] -> "") = 1 . biseqblk (0x55cdeaaab0c0[c]:"bogus", cstr[0x55cdea8a60e4] -> "") = 0 . biseqblk (0x55cdeaaab0d0[c]:"", cstr[0x55cdea8a67f5] -> "bogus") = 0 . biseqblk (0x55cdeaaab0c0[c]:"bogus", cstr[0x55cdea8a67f5] -> "bogus") = 1 . biseqblk (0x55cdebe18f00:"bpgus", cstr[0x55cdea8a67f5] -> "bogus") = 0 . biseqblk (0x55cdeaaab0c0[c]:"bogus", cstr[0x55cdea8a7568] -> "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0 . biseqblk (0x55cdeaaab0b0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", cstr[0x55cdea8a67f5] -> "bogus") = 0 # failures: 0 TEST: int biseqcaselessblk (const_bstring b, const void * blk, int len); . biseqcaselessblk (NULL, NULL, 0) = -1 . biseqcaselessblk (0x55cdeaaab0d0[c]:"", NULL, 0) = -1 . biseqcaselessblk (NULL, cstr[0x55cdea8a60e4] -> "", 0) = -1 . biseqcaselessblk (0x55cdeaaab0d0[c]:"", NULL, 0) = -1 . biseqcaselessblk (0x55cdeaaab010:[err:data=NULL], cstr[0x55cdea8a60e4] -> "", 4) = -1 . biseqcaselessblk (0x55cdeaaab0c0[c]:"bogus", cstr[0x55cdea8a67f5] -> "bogus", -5) = -1 . biseqcaselessblk (0x55cdeaaab0a0:[err:slen=-5<0], cstr[0x55cdea8a67f5] -> "bogus", -5) = -1 . biseqcaselessblk (0x55cdeaaab0d0[c]:"", cstr[0x55cdea8a60e4] -> "", 0) = 1 . biseqcaselessblk (0x55cdeaaab0c0[c]:"bogus", cstr[0x55cdea8a65a4] -> "bOgUs", 5) = 1 . biseqcaselessblk (0x55cdeaaab0c0[c]:"bogus", cstr[0x55cdea8a65aa] -> "bOgUR", 5) = 0 . biseqcaselessblk (0x55cdeaaab0c0[c]:"bogus", cstr[0x55cdea8a65b0] -> "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 -m64 -mtune=generic -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 -m64 -mtune=generic -Wall -o testaux -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64 -lbstr testaux.o -I/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/include/bstrlib/ LD_PRELOAD=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64/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 -m64 -mtune=generic -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 -m64 -mtune=generic -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.x86_64/usr/lib64 -lbstrc++ -lbstr test.o -I/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/include/bstrlib/ LD_PRELOAD=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64/libbstr.so.1.0.0:/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/lib64/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.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9OQ6Va Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.62JjFH + exit 0 + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/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.x86_64/usr/share/doc/bstrlib + cp -pr README.md /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/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.x86_64/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.x86_64/usr/share/licenses/bstrlib + cp -pr LICENSE /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/share/licenses/bstrlib + cp -pr gpl.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/share/licenses/bstrlib + exit 0 Provides: bstrlib = 1.0.0-2.fc28 bstrlib(x86-64) = 1.0.0-2.fc28 libbstr.so.1()(64bit) libbstrc++.so.1()(64bit) libbstrsafe.so.1()(64bit) 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()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) rtld(GNU_HASH) Processing files: bstrlib-devel-1.0.0-2.fc28.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tQSFxe + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/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.x86_64/usr/share/doc/bstrlib-devel + cp -pr porting.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/share/doc/bstrlib-devel + cp -pr bstrlib.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/share/doc/bstrlib-devel + cp -pr security.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64/usr/share/doc/bstrlib-devel + exit 0 Provides: bstrlib-devel = 1.0.0-2.fc28 bstrlib-devel(x86-64) = 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()(64bit) libbstrc++.so.1()(64bit) libbstrsafe.so.1()(64bit) Processing files: bstrlib-debugsource-1.0.0-2.fc28.x86_64 Provides: bstrlib-debugsource = 1.0.0-2.fc28 bstrlib-debugsource(x86-64) = 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.x86_64 Provides: bstrlib-debuginfo = 1.0.0-2.fc28 bstrlib-debuginfo(x86-64) = 1.0.0-2.fc28 debuginfo(build-id) = 232ca338bed7b6663e602178fa4e813374c42325 debuginfo(build-id) = 28339720d20283bfca64c2e4b65d5d588b7f7917 debuginfo(build-id) = ce0f1614b366625d341a239f355f97485a5f9346 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bstrlib-debugsource(x86-64) = 1.0.0-2.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64 Wrote: /builddir/build/RPMS/bstrlib-1.0.0-2.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/bstrlib-devel-1.0.0-2.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/bstrlib-debugsource-1.0.0-2.fc28.x86_64.rpm Wrote: /builddir/build/RPMS/bstrlib-debuginfo-1.0.0-2.fc28.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cbiYfM + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.x86_64 + exit 0 Child return code was: 0