Warning: Permanently added '172.25.87.194' (ECDSA) to the list of known hosts. Cloning into 'bstrlib'... Note: checking out 'e9329dc028d31a98b5fb59bfeee7ea637869872e'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at e9329dc... automatic import of bstrlib 1.0.0-1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 134k 100 134k 0 0 1991k 0 --:--:-- --:--:-- --:--:-- 2001k v1.0.0.zip: OK % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 140k 100 140k 0 0 1730k 0 --:--:-- --:--:-- --:--:-- 1732k bstrlib-1.0.0-1.fc27.src.rpm: OK WARNING: Could not find required logging config file: /var/lib/copr-rpmbuild/results/configs/logging.ini. Using default... INFO: mock.py version 1.4.2 starting (python version = 3.6.1)... Start: init plugins INFO: tmpfs initialized INFO: selinux disabled INFO: compress_logs: initialized Finish: init plugins Start: run INFO: Start(bstrlib.spec) Config(585367-fedora-rawhide-ppc64le) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/585367-fedora-rawhide-ppc64le/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled HW Info plugin Mock Version: 1.4.2 INFO: Mock Version: 1.4.2 Start: dnf install Last metadata expiration check: 0:00:00 ago on Tue 01 Aug 2017 08:17:08 AM UTC. Dependencies resolved. ================================================================================ Group Packages ================================================================================ Marking packages as installed by the group: @Buildsystem building group xz which rpm-build grep diffutils info bash cpio bzip2 findutils coreutils shadow-utils sed fedora-release gcc-c++ util-linux gcc gzip gawk redhat-rpm-config unzip make tar patch ================================================================================ Package Arch Version Repository Size ================================================================================ Installing dependencies: audit-libs ppc64le 2.7.7-3.fc27 fedora 123 k basesystem noarch 11-3.fc26 fedora 8.8 k bash ppc64le 4.4.12-6.fc27 fedora 1.6 M binutils ppc64le 2.29-4.fc27 fedora 3.9 M bzip2 ppc64le 1.0.6-22.fc26 fedora 58 k bzip2-libs ppc64le 1.0.6-22.fc26 fedora 50 k ca-certificates noarch 2017.2.16-2.fc27 fedora 452 k chkconfig ppc64le 1.10-1.fc27 fedora 193 k coreutils ppc64le 8.27-13.fc27 fedora 1.3 M coreutils-common ppc64le 8.27-13.fc27 fedora 1.9 M cpio ppc64le 2.12-4.fc26 fedora 267 k cpp ppc64le 7.1.1-6.fc27 fedora 9.8 M cracklib ppc64le 2.9.6-5.fc26 fedora 87 k crypto-policies noarch 20170606-3.git7c32281.fc27 fedora 36 k curl ppc64le 7.54.1-7.fc27 fedora 313 k cyrus-sasl-lib ppc64le 2.1.26-32.fc27 fedora 174 k diffutils ppc64le 3.6-1.fc27 fedora 365 k dwz ppc64le 0.12-3.fc26 fedora 111 k elfutils ppc64le 0.169-6.fc27 fedora 322 k elfutils-default-yama-scope noarch 0.169-6.fc27 fedora 39 k elfutils-libelf ppc64le 0.169-6.fc27 fedora 207 k elfutils-libs ppc64le 0.169-6.fc27 fedora 315 k expat ppc64le 2.2.2-2.fc27 fedora 99 k fedora-release noarch 27-0.2 fedora 25 k fedora-repos noarch 27-0.2 fedora 92 k fedora-repos-rawhide noarch 27-0.2 fedora 7.4 k fedora-rpm-macros noarch 26-2.fc26 fedora 6.5 k file ppc64le 5.31-4.fc27 fedora 72 k file-libs ppc64le 5.31-4.fc27 fedora 517 k filesystem ppc64le 3.3-1.fc27 fedora 1.1 M findutils ppc64le 1:4.6.0-12.fc27 fedora 538 k fpc-srpm-macros noarch 1.1-2.fc26 fedora 7.0 k gawk ppc64le 4.1.4-3.fc26 fedora 1.1 M gc ppc64le 7.6.0-4.fc27 fedora 117 k gcc ppc64le 7.1.1-6.fc27 fedora 19 M gcc-c++ ppc64le 7.1.1-6.fc27 fedora 12 M gdb-headless ppc64le 8.0-17.fc27 fedora 3.3 M gdbm ppc64le 1.13-1.fc27 fedora 167 k ghc-srpm-macros noarch 1.4.2-5.fc26 fedora 7.7 k glib2 ppc64le 2.53.4-2.fc27 fedora 2.5 M glibc ppc64le 2.25.90-30.fc27 fedora 3.9 M glibc-all-langpacks ppc64le 2.25.90-30.fc27 fedora 7.0 M glibc-common ppc64le 2.25.90-30.fc27 fedora 935 k glibc-devel ppc64le 2.25.90-30.fc27 fedora 1.0 M glibc-headers ppc64le 2.25.90-30.fc27 fedora 517 k gmp ppc64le 1:6.1.2-4.fc27 fedora 290 k gnat-srpm-macros noarch 4-3.fc27 fedora 8.2 k gnupg2 ppc64le 2.1.21-3.fc27 fedora 2.4 M gnutls ppc64le 3.5.14-1.fc27 fedora 762 k go-srpm-macros noarch 2-9.fc27 fedora 7.9 k grep ppc64le 3.1-1.fc27 fedora 281 k guile ppc64le 5:2.0.14-1.fc26 fedora 3.5 M gzip ppc64le 1.8-2.fc26 fedora 162 k info ppc64le 6.4-3.fc27 fedora 213 k isl ppc64le 0.16.1-1.fc26 fedora 1.1 M kernel-headers ppc64le 4.13.0-0.rc2.git3.1.fc27 fedora 1.1 M keyutils-libs ppc64le 1.5.10-1.fc27 fedora 33 k krb5-libs ppc64le 1.15.1-17.fc27 fedora 836 k libacl ppc64le 2.2.52-16.fc27 fedora 35 k libarchive ppc64le 3.3.1-1.fc27 fedora 413 k libasan ppc64le 7.1.1-6.fc27 fedora 404 k libassuan ppc64le 2.4.3-2.fc26 fedora 79 k libatomic ppc64le 7.1.1-6.fc27 fedora 35 k libatomic_ops ppc64le 7.4.6-1.fc27 fedora 34 k libattr ppc64le 2.4.47-19.fc27 fedora 25 k libbabeltrace ppc64le 1.5.2-2.fc27 fedora 216 k libblkid ppc64le 2.30.1-1.fc27 fedora 219 k libcap ppc64le 2.25-5.fc26 fedora 55 k libcap-ng ppc64le 0.7.8-3.fc26 fedora 31 k libcom_err ppc64le 1.43.4-2.fc26 fedora 45 k libcrypt-nss ppc64le 2.25.90-30.fc27 fedora 64 k libcurl ppc64le 7.54.1-7.fc27 fedora 290 k libdb ppc64le 5.3.28-24.fc27 fedora 799 k libdb-utils ppc64le 5.3.28-24.fc27 fedora 155 k libfdisk ppc64le 2.30.1-1.fc27 fedora 263 k libffi ppc64le 3.1-12.fc27 fedora 36 k libgcc ppc64le 7.1.1-6.fc27 fedora 79 k libgcrypt ppc64le 1.7.8-1.fc27 fedora 414 k libgomp ppc64le 7.1.1-6.fc27 fedora 202 k libgpg-error ppc64le 1.27-1.fc27 fedora 188 k libidn2 ppc64le 2.0.2-1.fc27 fedora 98 k libksba ppc64le 1.3.5-3.fc26 fedora 145 k libmetalink ppc64le 0.1.3-2.fc26 fedora 34 k libmount ppc64le 2.30.1-1.fc27 fedora 245 k libmpc ppc64le 1.0.2-6.fc26 fedora 60 k libnghttp2 ppc64le 1.24.0-3.fc27 fedora 80 k libpkgconf ppc64le 1.3.8-1.fc27 fedora 35 k libpsl ppc64le 0.17.0-2.fc26 fedora 50 k libpwquality ppc64le 1.4.0-1.fc27 fedora 103 k libselinux ppc64le 2.6-9.fc27 fedora 189 k libsemanage ppc64le 2.6-4.fc27 fedora 164 k libsepol ppc64le 2.6-4.fc27 fedora 328 k libsigsegv ppc64le 2.11-1.fc26 fedora 28 k libsmartcols ppc64le 2.30.1-1.fc27 fedora 172 k libssh2 ppc64le 1.8.0-2.fc26 fedora 104 k libstdc++ ppc64le 7.1.1-6.fc27 fedora 513 k libstdc++-devel ppc64le 7.1.1-6.fc27 fedora 1.9 M libtasn1 ppc64le 4.12-1.fc27 fedora 80 k libtool-ltdl ppc64le 2.4.6-18.fc27 fedora 60 k libubsan ppc64le 7.1.1-6.fc27 fedora 164 k libunistring ppc64le 0.9.7-1.fc26 fedora 409 k libusbx ppc64le 1.0.21-2.fc26 fedora 71 k libutempter ppc64le 1.1.6-9.fc26 fedora 29 k libuuid ppc64le 2.30.1-1.fc27 fedora 82 k libverto ppc64le 0.2.6-7.fc26 fedora 22 k libxml2 ppc64le 2.9.4-2.fc26 fedora 756 k lua-libs ppc64le 5.3.4-3.fc27 fedora 128 k lz4-libs ppc64le 1.7.5-4.fc27 fedora 54 k make ppc64le 1:4.2.1-2.fc26 fedora 503 k mpfr ppc64le 3.1.5-3.fc27 fedora 230 k ncurses ppc64le 6.0-12.20170722.fc27 fedora 375 k ncurses-base noarch 6.0-12.20170722.fc27 fedora 77 k ncurses-libs ppc64le 6.0-12.20170722.fc27 fedora 358 k nettle ppc64le 3.3-2.fc26 fedora 336 k npth ppc64le 1.5-1.fc27 fedora 24 k nspr ppc64le 4.15.0-1.fc27 fedora 150 k nss ppc64le 3.31.0-4.fc27 fedora 927 k nss-pem ppc64le 1.0.3-3.fc27 fedora 81 k nss-softokn ppc64le 3.31.0-2.fc27 fedora 412 k nss-softokn-freebl ppc64le 3.31.0-2.fc27 fedora 231 k nss-sysinit ppc64le 3.31.0-4.fc27 fedora 62 k nss-util ppc64le 3.31.0-2.fc27 fedora 96 k ocaml-srpm-macros noarch 4-2.fc26 fedora 7.5 k openblas-srpm-macros noarch 2-1.fc27 fedora 6.5 k openldap ppc64le 2.4.45-1.fc27 fedora 387 k openssl-libs ppc64le 1:1.1.0f-7.fc27 fedora 1.1 M p11-kit ppc64le 0.23.7-1.fc27 fedora 265 k p11-kit-trust ppc64le 0.23.7-1.fc27 fedora 145 k pam ppc64le 1.3.0-3.fc27 fedora 804 k patch ppc64le 2.7.5-4.fc26 fedora 133 k pcre ppc64le 8.41-1.fc27 fedora 204 k perl-srpm-macros noarch 1-23.fc27 fedora 9.2 k pkgconf ppc64le 1.3.8-1.fc27 fedora 31 k pkgconf-m4 noarch 1.3.8-1.fc27 fedora 13 k pkgconf-pkg-config ppc64le 1.3.8-1.fc27 fedora 12 k popt ppc64le 1.16-10.fc27 fedora 63 k publicsuffix-list-dafsa noarch 20170424-1.fc27 fedora 44 k python-srpm-macros noarch 3-20.fc27 fedora 9.2 k qt5-srpm-macros noarch 5.9.1-1.fc27 fedora 8.4 k readline ppc64le 7.0-5.fc26 fedora 230 k redhat-rpm-config noarch 66-1.fc27 fedora 61 k rpm ppc64le 4.13.0.1-40.fc27 fedora 527 k rpm-build ppc64le 4.13.0.1-40.fc27 fedora 159 k rpm-build-libs ppc64le 4.13.0.1-40.fc27 fedora 145 k rpm-libs ppc64le 4.13.0.1-40.fc27 fedora 350 k rpm-plugin-selinux ppc64le 4.13.0.1-40.fc27 fedora 63 k rust-srpm-macros noarch 4-2.fc27 fedora 7.6 k sed ppc64le 4.4-1.fc26 fedora 293 k setup noarch 2.10.5-2.fc26 fedora 174 k shadow-utils ppc64le 2:4.5-1.fc27 fedora 1.2 M sqlite-libs ppc64le 3.19.3-1.fc27 fedora 506 k system-python-libs ppc64le 3.6.2-4.fc27 fedora 5.9 M systemd-libs ppc64le 234-3.fc27 fedora 498 k tar ppc64le 2:1.29-5.fc27 fedora 840 k tzdata noarch 2017b-1.fc27 fedora 420 k unzip ppc64le 6.0-34.fc27 fedora 195 k ustr ppc64le 1.0.4-22.fc26 fedora 99 k util-linux ppc64le 2.30.1-1.fc27 fedora 2.5 M which ppc64le 2.21-2.fc26 fedora 47 k xz ppc64le 5.2.3-2.fc26 fedora 155 k xz-libs ppc64le 5.2.3-2.fc26 fedora 115 k zip ppc64le 3.0-18.fc26 fedora 273 k zlib ppc64le 1.2.11-2.fc26 fedora 103 k Transaction Summary ================================================================================ Install 163 Packages Total download size: 118 M Installed size: 498 M Downloading Packages: -------------------------------------------------------------------------------- Total 20 MB/s | 118 MB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction warning: /etc/hosts created as /etc/hosts.rpmnew install-info: No such file or directory for /dev/null install-info: No such file or directory for /dev/null install-info: No such file or directory for /dev/null install-info: No such file or directory for /dev/null Installed: audit-libs.ppc64le 2.7.7-3.fc27 basesystem.noarch 11-3.fc26 bash.ppc64le 4.4.12-6.fc27 binutils.ppc64le 2.29-4.fc27 bzip2.ppc64le 1.0.6-22.fc26 bzip2-libs.ppc64le 1.0.6-22.fc26 ca-certificates.noarch 2017.2.16-2.fc27 chkconfig.ppc64le 1.10-1.fc27 coreutils.ppc64le 8.27-13.fc27 coreutils-common.ppc64le 8.27-13.fc27 cpio.ppc64le 2.12-4.fc26 cpp.ppc64le 7.1.1-6.fc27 cracklib.ppc64le 2.9.6-5.fc26 crypto-policies.noarch 20170606-3.git7c32281.fc27 curl.ppc64le 7.54.1-7.fc27 cyrus-sasl-lib.ppc64le 2.1.26-32.fc27 diffutils.ppc64le 3.6-1.fc27 dwz.ppc64le 0.12-3.fc26 elfutils.ppc64le 0.169-6.fc27 elfutils-default-yama-scope.noarch 0.169-6.fc27 elfutils-libelf.ppc64le 0.169-6.fc27 elfutils-libs.ppc64le 0.169-6.fc27 expat.ppc64le 2.2.2-2.fc27 fedora-release.noarch 27-0.2 fedora-repos.noarch 27-0.2 fedora-repos-rawhide.noarch 27-0.2 fedora-rpm-macros.noarch 26-2.fc26 file.ppc64le 5.31-4.fc27 file-libs.ppc64le 5.31-4.fc27 filesystem.ppc64le 3.3-1.fc27 findutils.ppc64le 1:4.6.0-12.fc27 fpc-srpm-macros.noarch 1.1-2.fc26 gawk.ppc64le 4.1.4-3.fc26 gc.ppc64le 7.6.0-4.fc27 gcc.ppc64le 7.1.1-6.fc27 gcc-c++.ppc64le 7.1.1-6.fc27 gdb-headless.ppc64le 8.0-17.fc27 gdbm.ppc64le 1.13-1.fc27 ghc-srpm-macros.noarch 1.4.2-5.fc26 glib2.ppc64le 2.53.4-2.fc27 glibc.ppc64le 2.25.90-30.fc27 glibc-all-langpacks.ppc64le 2.25.90-30.fc27 glibc-common.ppc64le 2.25.90-30.fc27 glibc-devel.ppc64le 2.25.90-30.fc27 glibc-headers.ppc64le 2.25.90-30.fc27 gmp.ppc64le 1:6.1.2-4.fc27 gnat-srpm-macros.noarch 4-3.fc27 gnupg2.ppc64le 2.1.21-3.fc27 gnutls.ppc64le 3.5.14-1.fc27 go-srpm-macros.noarch 2-9.fc27 grep.ppc64le 3.1-1.fc27 guile.ppc64le 5:2.0.14-1.fc26 gzip.ppc64le 1.8-2.fc26 info.ppc64le 6.4-3.fc27 isl.ppc64le 0.16.1-1.fc26 kernel-headers.ppc64le 4.13.0-0.rc2.git3.1.fc27 keyutils-libs.ppc64le 1.5.10-1.fc27 krb5-libs.ppc64le 1.15.1-17.fc27 libacl.ppc64le 2.2.52-16.fc27 libarchive.ppc64le 3.3.1-1.fc27 libasan.ppc64le 7.1.1-6.fc27 libassuan.ppc64le 2.4.3-2.fc26 libatomic.ppc64le 7.1.1-6.fc27 libatomic_ops.ppc64le 7.4.6-1.fc27 libattr.ppc64le 2.4.47-19.fc27 libbabeltrace.ppc64le 1.5.2-2.fc27 libblkid.ppc64le 2.30.1-1.fc27 libcap.ppc64le 2.25-5.fc26 libcap-ng.ppc64le 0.7.8-3.fc26 libcom_err.ppc64le 1.43.4-2.fc26 libcrypt-nss.ppc64le 2.25.90-30.fc27 libcurl.ppc64le 7.54.1-7.fc27 libdb.ppc64le 5.3.28-24.fc27 libdb-utils.ppc64le 5.3.28-24.fc27 libfdisk.ppc64le 2.30.1-1.fc27 libffi.ppc64le 3.1-12.fc27 libgcc.ppc64le 7.1.1-6.fc27 libgcrypt.ppc64le 1.7.8-1.fc27 libgomp.ppc64le 7.1.1-6.fc27 libgpg-error.ppc64le 1.27-1.fc27 libidn2.ppc64le 2.0.2-1.fc27 libksba.ppc64le 1.3.5-3.fc26 libmetalink.ppc64le 0.1.3-2.fc26 libmount.ppc64le 2.30.1-1.fc27 libmpc.ppc64le 1.0.2-6.fc26 libnghttp2.ppc64le 1.24.0-3.fc27 libpkgconf.ppc64le 1.3.8-1.fc27 libpsl.ppc64le 0.17.0-2.fc26 libpwquality.ppc64le 1.4.0-1.fc27 libselinux.ppc64le 2.6-9.fc27 libsemanage.ppc64le 2.6-4.fc27 libsepol.ppc64le 2.6-4.fc27 libsigsegv.ppc64le 2.11-1.fc26 libsmartcols.ppc64le 2.30.1-1.fc27 libssh2.ppc64le 1.8.0-2.fc26 libstdc++.ppc64le 7.1.1-6.fc27 libstdc++-devel.ppc64le 7.1.1-6.fc27 libtasn1.ppc64le 4.12-1.fc27 libtool-ltdl.ppc64le 2.4.6-18.fc27 libubsan.ppc64le 7.1.1-6.fc27 libunistring.ppc64le 0.9.7-1.fc26 libusbx.ppc64le 1.0.21-2.fc26 libutempter.ppc64le 1.1.6-9.fc26 libuuid.ppc64le 2.30.1-1.fc27 libverto.ppc64le 0.2.6-7.fc26 libxml2.ppc64le 2.9.4-2.fc26 lua-libs.ppc64le 5.3.4-3.fc27 lz4-libs.ppc64le 1.7.5-4.fc27 make.ppc64le 1:4.2.1-2.fc26 mpfr.ppc64le 3.1.5-3.fc27 ncurses.ppc64le 6.0-12.20170722.fc27 ncurses-base.noarch 6.0-12.20170722.fc27 ncurses-libs.ppc64le 6.0-12.20170722.fc27 nettle.ppc64le 3.3-2.fc26 npth.ppc64le 1.5-1.fc27 nspr.ppc64le 4.15.0-1.fc27 nss.ppc64le 3.31.0-4.fc27 nss-pem.ppc64le 1.0.3-3.fc27 nss-softokn.ppc64le 3.31.0-2.fc27 nss-softokn-freebl.ppc64le 3.31.0-2.fc27 nss-sysinit.ppc64le 3.31.0-4.fc27 nss-util.ppc64le 3.31.0-2.fc27 ocaml-srpm-macros.noarch 4-2.fc26 openblas-srpm-macros.noarch 2-1.fc27 openldap.ppc64le 2.4.45-1.fc27 openssl-libs.ppc64le 1:1.1.0f-7.fc27 p11-kit.ppc64le 0.23.7-1.fc27 p11-kit-trust.ppc64le 0.23.7-1.fc27 pam.ppc64le 1.3.0-3.fc27 patch.ppc64le 2.7.5-4.fc26 pcre.ppc64le 8.41-1.fc27 perl-srpm-macros.noarch 1-23.fc27 pkgconf.ppc64le 1.3.8-1.fc27 pkgconf-m4.noarch 1.3.8-1.fc27 pkgconf-pkg-config.ppc64le 1.3.8-1.fc27 popt.ppc64le 1.16-10.fc27 publicsuffix-list-dafsa.noarch 20170424-1.fc27 python-srpm-macros.noarch 3-20.fc27 qt5-srpm-macros.noarch 5.9.1-1.fc27 readline.ppc64le 7.0-5.fc26 redhat-rpm-config.noarch 66-1.fc27 rpm.ppc64le 4.13.0.1-40.fc27 rpm-build.ppc64le 4.13.0.1-40.fc27 rpm-build-libs.ppc64le 4.13.0.1-40.fc27 rpm-libs.ppc64le 4.13.0.1-40.fc27 rpm-plugin-selinux.ppc64le 4.13.0.1-40.fc27 rust-srpm-macros.noarch 4-2.fc27 sed.ppc64le 4.4-1.fc26 setup.noarch 2.10.5-2.fc26 shadow-utils.ppc64le 2:4.5-1.fc27 sqlite-libs.ppc64le 3.19.3-1.fc27 system-python-libs.ppc64le 3.6.2-4.fc27 systemd-libs.ppc64le 234-3.fc27 tar.ppc64le 2:1.29-5.fc27 tzdata.noarch 2017b-1.fc27 unzip.ppc64le 6.0-34.fc27 ustr.ppc64le 1.0.4-22.fc26 util-linux.ppc64le 2.30.1-1.fc27 which.ppc64le 2.21-2.fc26 xz.ppc64le 5.2.3-2.fc26 xz-libs.ppc64le 5.2.3-2.fc26 zip.ppc64le 3.0-18.fc26 zlib.ppc64le 1.2.11-2.fc26 Complete! Finish: dnf install Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: Start: buildsrpm Start: rpmbuild -bs Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/bstrlib-1.0.0-1.fc27.src.rpm Finish: rpmbuild -bs Finish: buildsrpm INFO: Done(bstrlib.spec) Config(child) 1 minutes 6 seconds INFO: Results and/or logs in: intermediate-srpm Finish: run INFO: unmounting tmpfs. WARNING: Could not find required logging config file: /var/lib/copr-rpmbuild/results/configs/logging.ini. Using default... INFO: mock.py version 1.4.2 starting (python version = 3.6.1)... Start: init plugins INFO: tmpfs initialized INFO: selinux disabled INFO: compress_logs: initialized Finish: init plugins Start: run INFO: Start(intermediate-srpm/bstrlib-1.0.0-1.fc27.src.rpm) Config(585367-fedora-rawhide-ppc64le) Start: chroot init INFO: mounting tmpfs at /var/lib/mock/585367-fedora-rawhide-ppc64le/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled HW Info plugin Mock Version: 1.4.2 INFO: Mock Version: 1.4.2 Finish: chroot init Start: build phase for bstrlib-1.0.0-1.fc27.src.rpm Start: build setup for bstrlib-1.0.0-1.fc27.src.rpm Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/bstrlib-1.0.0-1.fc27.src.rpm Last metadata expiration check: 0:00:00 ago on Tue 01 Aug 2017 08:18:19 AM UTC. Package gcc-c++-7.1.1-6.fc27.ppc64le is already installed, skipping. Dependencies resolved. Nothing to do. Complete! Finish: build setup for bstrlib-1.0.0-1.fc27.src.rpm Start: rpmbuild bstrlib-1.0.0-1.fc27.src.rpm Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iYMuf1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bstrlib-1.0.0 + /usr/bin/unzip -qq /builddir/build/SOURCES/v1.0.0.zip + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CAviTQ + 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 -mcpu=power8 -mtune=power8' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' bstrlib 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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -fPIC -I. -c -o buniutil.o buniutil.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 -mcpu=power8 -mtune=power8 -fPIC -I. -shared -Wl,-soname=libbstr.so.1.0.0 -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 + 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 -mcpu=power8 -mtune=power8' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' bstrlibc++ 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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -fPIC -I. -shared -Wl,-soname=libbstr.so.1.0.0 -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 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 -mcpu=power8 -mtune=power8 -fPIC -I. -nodefaultlibs -shared -Wl,-soname=libbstrc++.so.1.0.0 -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 + 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 -mcpu=power8 -mtune=power8' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' bstrlibsafe 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 -mcpu=power8 -mtune=power8 -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 -mcpu=power8 -mtune=power8 -fPIC -I. -shared -Wl,-soname=libbstr.so.1.0.0 -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 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 -mcpu=power8 -mtune=power8 -fPIC -I. -shared -Wl,-soname=libbstrsafe.so.1.0.0 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libbstrsafe.so.1.0.0 bsafe.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mJGS7H + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le ++ dirname /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le + cd bstrlib-1.0.0 + mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/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-1.fc27.ppc64le/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-1.fc27.ppc64le/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-1.fc27.ppc64le/usr/lib64/libbstrc++.so.1.0.0 + make clean rm -f *.o + mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/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-1.fc27.ppc64le/usr/include/bstrlib/ + cd /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/lib64 + ln -sf libbstr.so.1.0.0 libbstr.so + ln -sf libbstr.so.1.0.0 libbstr.so.1 + ln -sf libbstr.so.1.0.0 libbstr.so.1.0 + ln -sf libbstrsafe.so.1.0.0 libbstrsafe.so + ln -sf libbstrsafe.so.1.0.0 libbstrsafe.so.1 + ln -sf libbstrsafe.so.1.0.0 libbstrsafe.so.1.0 + ln -sf libbstrc++.so.1.0.0 libbstrc++.so + ln -sf libbstrc++.so.1.0.0 libbstrc++.so.1 + ln -sf libbstrc++.so.1.0.0 libbstrc++.so.1.0 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m --build-id-seed 1.0.0-1.fc27 --unique-debug-suffix -1.0.0-1.fc27.ppc64le --unique-debug-src-base bstrlib-1.0.0-1.fc27.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bstrlib-1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/lib64/libbstrsafe.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/lib64/libbstrc++.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/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.9xpOuz + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + mkdir test + cd test + gcc -c -Wall /builddir/build/BUILD/bstrlib-1.0.0/bstest.c /builddir/build/BUILD/bstrlib-1.0.0/bstest.c: In function 'test0_2': /builddir/build/BUILD/bstrlib-1.0.0/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 /builddir/build/BUILD/bstrlib-1.0.0/bstest.c:181:33: warning: format '%s' expects a matching 'char *' argument [-Wformat=] printf ("[%d] \"%s\" != \"%s\"\n", b->data, t); ~^ /builddir/build/BUILD/bstrlib-1.0.0/bstest.c: In function 'test47_0': /builddir/build/BUILD/bstrlib-1.0.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); ^~~ /builddir/build/BUILD/bstrlib-1.0.0/bstest.c:75:14: note: expected 'const char *' but argument is of type 'const unsigned char *' static char* dumpCstring (const char* s) { ^~~~~~~~~~~ /builddir/build/BUILD/bstrlib-1.0.0/bstest.c: In function 'test15_0': /builddir/build/BUILD/bstrlib-1.0.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__; ^~ /builddir/build/BUILD/bstrlib-1.0.0/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__; ^~ /builddir/build/BUILD/bstrlib-1.0.0/bstest.c: In function 'test48_0': /builddir/build/BUILD/bstrlib-1.0.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); ^~~ /builddir/build/BUILD/bstrlib-1.0.0/bstest.c:75:14: note: expected 'const char *' but argument is of type 'const unsigned char *' static char* dumpCstring (const char* s) { ^~~~~~~~~~~ + gcc -g -Wall -o bstest -L/builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/lib64 -lbstr bstest.o -I/builddir/build/BUILD/usr/include/bstrlib/ -Wl,-rpath=/builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/lib64 + ./bstest Direct case testing of bstring core functions TEST: bstring bfromcstr (const char * str); . bfromcstr (NULL) = NULL . bfromcstr ("") = 0x1001dae22b0:"" . bfromcstr ("bogus") = 0x1001dae22b0:"bogus" . bfromcstr ("This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1001dae22b0:"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, "") = 0x1001dae2510:"" . bfromcstralloc (30, "") = 0x1001dae2510:"" . bfromcstralloc (0, "bogus") = 0x1001dae2510:"bogus" . bfromcstralloc (30, "bogus") = 0x1001dae2510:"bogus" . bfromcstralloc (0, "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1001dae2510:"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.") = 0x1001dae2510:"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[0x1001a118] -> "") correct . bfromcstrrangealloc (*,*,cstr[0x1001a328] -> "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=0x1001a320, len=5) = 0x1001dae2d50:"bogus" . blk2bstr (blk=0x1001a328, len=86) = 0x1001dae2d50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . blk2bstr (blk=0x1001a328, len=5) = 0x1001dae2d50:"This " . blk2bstr (blk=0x1001a328, len=0) = 0x1001dae2d50:"" . blk2bstr (NULL, len=-1) = NULL # failures: 0 TEST: char * bstr2cstr (const_bstring s, char z); . bstr2cstr (NULL, 3F) = NULL . bstr2cstr (0x100302d8[c]:"", 3F) = "" . bstr2cstr (0x100302e8[c]:"bogus", 3F) = "bogus" . bstr2cstr (0x100302f8[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 (0x10030308:[err:data=NULL], 3F) = NULL . bstr2cstr (0x10030318:[err:slen=-5<0], 3F) = NULL # failures: 0 TEST: bstring bstrcpy (const_bstring b1); . bstrcpy (NULL) = NULL . bstrcpy (0x10030308:[err:data=NULL]) = NULL . bstrcpy (0x10030318:[err:slen=-5<0]) = NULL . bstrcpy (0x100302d8[c]:"") = 0x1001dae2d30:"" . bstrcpy (0x100302e8[c]:"bogus") = 0x1001dae2d30:"bogus" . bstrcpy (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1001dae2d30:"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 (0x10030308:[err:data=NULL], 1, 3) = NULL . bmidstr (0x10030318:[err:slen=-5<0], 1, 3) = NULL . bmidstr (0x100302d8[c]:"", 0, 0) = 0x1001dae2d30:"" . bmidstr (0x100302d8[c]:"", 0, -1) = 0x1001dae2d30:"" . bmidstr (0x100302d8[c]:"", 1, 3) = 0x1001dae2d30:"" . bmidstr (0x100302e8[c]:"bogus", 0, 0) = 0x1001dae2d30:"" . bmidstr (0x100302e8[c]:"bogus", 0, -1) = 0x1001dae2d30:"" . bmidstr (0x100302e8[c]:"bogus", 1, 3) = 0x1001dae2d30:"ogu" . bmidstr (0x100302e8[c]:"bogus", -1, 3) = 0x1001dae2d30:"bo" . bmidstr (0x100302e8[c]:"bogus", -1, 9) = 0x1001dae2d30:"bogus" . bmidstr (0x100302e8[c]:"bogus", 3, -1) = 0x1001dae2d30:"" . bmidstr (0x100302e8[c]:"bogus", 9, 3) = 0x1001dae2d30:"" # failures: 0 TEST: int bconcat (bstring b0, const_bstring b1); . bconcat (NULL, NULL) = -1 . bconcat (NULL, 0x100302d8[c]:"") = -1 . bconcat (0x100302d8[c]:"", NULL) = -1 . bconcat (0x100302d8[c]:"", 0x10030308:[err:data=NULL]) = -1 . bconcat (0x100302d8[c]:"", 0x10030318:[err:slen=-5<0]) = -1 . bconcat (0x10030308:[err:data=NULL], 0x100302d8[c]:"") = -1 . bconcat (0x10030318:[err:slen=-5<0], 0x100302d8[c]:"") = -1 . bconcat (0x1001dae2d30[p]:"", 0x100302d8[c]:"") = 0x1001dae2d30[p]:"" . bconcat (0x1001dae2d30:"", 0x100302d8[c]:"") = 0x1001dae2d30:"" . bconcat (0x1001dae2d30[p]:"", 0x100302e8[c]:"bogus") = 0x1001dae2d30[p]:"" . bconcat (0x1001dae2d30:"", 0x100302e8[c]:"bogus") = 0x1001dae2d30:"bogus" . bconcat (0x1001dae2d30[p]:"bogus", 0x100302d8[c]:"") = 0x1001dae2d30[p]:"bogus" . bconcat (0x1001dae2d30:"bogus", 0x100302d8[c]:"") = 0x1001dae2d30:"bogus" . bconcat (0x1001dae2d30[p]:"bogus", 0x100302e8[c]:"bogus") = 0x1001dae2d30[p]:"bogus" . bconcat (0x1001dae2d30:"bogus", 0x100302e8[c]:"bogus") = 0x1001dae2d30:"bogusbogus" TEST: bconcat aliasing # failures: 0 TEST: int bconchar (bstring b, char c); . bconchar (NULL, x) = -1 . bconchar (0x10030308:[err:data=NULL], x) = -1 . bconchar (0x10030318:[err:slen=-5<0], x) = -1 . bconchar (0x100302d8[c]:"", x) = 0x1001dae2290[p]:"" . bconchar (0x100302d8[c]:"", x) = 0x1001dae2290:"x" . bconchar (0x100302e8[c]:"bogus", x) = 0x1001dae2290[p]:"bogus" . bconchar (0x100302e8[c]:"bogus", x) = 0x1001dae2290:"bogusx" # failures: 0 TEST: int biseq (const_bstring b0, const_bstring b1); . biseq (NULL, NULL) = -1 . biseq (0x100302d8[c]:"", NULL) = -1 . biseq (NULL, 0x100302d8[c]:"") = -1 . biseq (0x100302e8[c]:"bogus", NULL) = -1 . biseq (NULL, 0x100302e8[c]:"bogus") = -1 . biseq (0x10030308:[err:data=NULL], 0x10030308:[err:data=NULL]) = -1 . biseq (0x10030318:[err:slen=-5<0], 0x10030318:[err:slen=-5<0]) = -1 . biseq (0x100302e8[c]:"bogus", 0x10030318:[err:slen=-5<0]) = -1 . biseq (0x10030318:[err:slen=-5<0], 0x100302e8[c]:"bogus") = -1 . biseq (0x100302d8[c]:"", 0x100302d8[c]:"") = 1 . biseq (0x100302e8[c]:"bogus", 0x100302d8[c]:"") = 0 . biseq (0x100302d8[c]:"", 0x100302e8[c]:"bogus") = 0 . biseq (0x100302e8[c]:"bogus", 0x100302e8[c]:"bogus") = 1 . biseq (0x1001dae2290:"bpgus", 0x100302e8[c]:"bogus") = 0 . biseq (0x100302e8[c]:"bogus", 0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0 . biseq (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100302e8[c]:"bogus") = 0 # failures: 0 TEST: int bstrcmp (const_bstring b0, const_bstring b1); . bstrcmp (NULL, NULL) = -32768 . bstrcmp (0x100302d8[c]:"", NULL) = -32768 . bstrcmp (NULL, 0x100302d8[c]:"") = -32768 . bstrcmp (0x100302e8[c]:"bogus", NULL) = -32768 . bstrcmp (NULL, 0x100302e8[c]:"bogus") = -32768 . bstrcmp (0x10030308:[err:data=NULL], 0x10030308:[err:data=NULL]) = -32768 . bstrcmp (0x10030318:[err:slen=-5<0], 0x10030318:[err:slen=-5<0]) = -32768 . bstrcmp (0x100302e8[c]:"bogus", 0x10030318:[err:slen=-5<0]) = -32768 . bstrcmp (0x10030318:[err:slen=-5<0], 0x100302e8[c]:"bogus") = -32768 . bstrcmp (0x100302d8[c]:"", 0x100302d8[c]:"") = 0 . bstrcmp (0x100302e8[c]:"bogus", 0x100302d8[c]:"") = 1 . bstrcmp (0x100302d8[c]:"", 0x100302e8[c]:"bogus") = -1 . bstrcmp (0x100302e8[c]:"bogus", 0x100302e8[c]:"bogus") = 0 . bstrcmp (0x1001dae2290:"bpgus", 0x100302e8[c]:"bogus") = 1 . bstrcmp (0x100302e8[c]:"bogus", 0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 14 . bstrcmp (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100302e8[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 (0x100302d8[c]:"", NULL, 0) = -32768 . bstrncmp (NULL, 0x100302d8[c]:"", 0) = -32768 . bstrncmp (0x100302d8[c]:"", NULL, 1) = -32768 . bstrncmp (NULL, 0x100302d8[c]:"", 1) = -32768 . bstrncmp (0x10030308:[err:data=NULL], 0x10030308:[err:data=NULL], 1) = -32768 . bstrncmp (0x10030318:[err:slen=-5<0], 0x10030318:[err:slen=-5<0], 1) = -32768 . bstrncmp (0x100302d8[c]:"", 0x10030308:[err:data=NULL], 1) = -32768 . bstrncmp (0x100302d8[c]:"", 0x10030318:[err:slen=-5<0], 1) = -32768 . bstrncmp (0x10030308:[err:data=NULL], 0x100302d8[c]:"", 1) = -32768 . bstrncmp (0x10030318:[err:slen=-5<0], 0x100302d8[c]:"", 1) = -32768 . bstrncmp (0x100302d8[c]:"", 0x100302d8[c]:"", -1) = 0 . bstrncmp (0x100302d8[c]:"", 0x100302d8[c]:"", 0) = 0 . bstrncmp (0x100302d8[c]:"", 0x100302d8[c]:"", 1) = 0 . bstrncmp (0x100302e8[c]:"bogus", 0x100302e8[c]:"bogus", -1) = 0 . bstrncmp (0x100302e8[c]:"bogus", 0x100302e8[c]:"bogus", 0) = 0 . bstrncmp (0x100302e8[c]:"bogus", 0x100302e8[c]:"bogus", 1) = 0 . bstrncmp (0x100302e8[c]:"bogus", 0x100302e8[c]:"bogus", 9) = 0 # failures: 0 TEST: int bdestroy (const_bstring b); . bdestroy (NULL) = -1 . bdestroy (0x1001dae2d30[p]:"") = -1 . bdestroy (0x1001dae2290[p]:"bogus") = -1 . bdestroy (0x1001dae2d30:"") = 0 . bdestroy (0x1001dae2290:"bogus") = 0 . bdestroy (0x100302d8[c]:"") = -1 . bdestroy (0x100302d8[c]:"") = -1 . bdestroy (0x100302e8[c]:"bogus") = -1 . bdestroy (0x100302e8[c]:"bogus") = -1 . bdestroy (0x10030308:[err:data=NULL]) = -1 . bdestroy (0x10030318:[err:slen=-5<0]) = -1 # failures: 0 TEST: int binstr (const_bstring s1, int pos, const_bstring s2); . binstr (NULL, 0, NULL) = -1 . binstr (0x100302d8[c]:"", 0, NULL) = -1 . binstr (NULL, 0, 0x100302d8[c]:"") = -1 . binstr (0x100302d8[c]:"", 0, 0x10030308:[err:data=NULL]) = -1 . binstr (0x100302d8[c]:"", 0, 0x10030318:[err:slen=-5<0]) = -1 . binstr (0x10030308:[err:data=NULL], 0, 0x100302d8[c]:"") = -1 . binstr (0x10030318:[err:slen=-5<0], 0, 0x100302d8[c]:"") = -1 . binstr (0x10030308:[err:data=NULL], 0, 0x10030318:[err:slen=-5<0]) = -1 . binstr (0x10030318:[err:slen=-5<0], 0, 0x10030308:[err:data=NULL]) = -1 . binstr (0x100302d8[c]:"", 0, 0x100302d8[c]:"") = 0 . binstr (0x100302d8[c]:"", 1, 0x100302d8[c]:"") = -1 . binstr (0x100302e8[c]:"bogus", 1, 0x100302e8[c]:"bogus") = -1 . binstr (0x100302e8[c]:"bogus", 5, 0x100302d8[c]:"") = 5 . binstr (0x100302e8[c]:"bogus", -1, 0x100302e8[c]:"bogus") = -1 . binstr (0x100302e8[c]:"bogus", 0, 0x100302e8[c]:"bogus") = 0 . binstr (0x100302e8[c]:"bogus", 0, 0x1001dae2290:"bogus") = 0 . binstr (0x100302e8[c]:"bogus", 0, 0x1001dae2290:"BOGUS") = -1 . binstr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x100302e8[c]:"bogus") = 10 . binstr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x100302e8[c]:"bogus") = -1 . binstr (0x1001dae2290:"sssssssssap", 0, 0x1001dae2d30:"sap") = 8 . binstr (0x1001dae2d30:"sssssssssap", 3, 0x1001dae2290:"sap") = 8 . binstr (0x1001dae2290:"ssssssssssap", 3, 0x1001dae2d30:"sap") = 9 . binstr (0x1001dae2d30:"sssssssssap", 0, 0x1001dae2290:"s") = 0 . binstr (0x1001dae2290:"sssssssssap", 3, 0x1001dae2d30:"s") = 3 . binstr (0x1001dae2d30:"sssssssssap", 0, 0x1001dae2290:"a") = 9 . binstr (0x1001dae2290:"sssssssssap", 5, 0x1001dae2d30:"a") = 9 . binstr (0x1001dae2d30:"sasasasasap", 0, 0x1001dae2290:"sap") = 8 . binstr (0x1001dae2290:"ssasasasasap", 0, 0x1001dae2d30:"sap") = 9 TEST: int binstrcaseless (const_bstring s1, int pos, const_bstring s2); . binstrcaseless (NULL, 0, NULL) = -1 . binstrcaseless (0x100302d8[c]:"", 0, NULL) = -1 . binstrcaseless (NULL, 0, 0x100302d8[c]:"") = -1 . binstrcaseless (0x100302d8[c]:"", 0, 0x10030308:[err:data=NULL]) = -1 . binstrcaseless (0x100302d8[c]:"", 0, 0x10030318:[err:slen=-5<0]) = -1 . binstrcaseless (0x10030308:[err:data=NULL], 0, 0x100302d8[c]:"") = -1 . binstrcaseless (0x10030318:[err:slen=-5<0], 0, 0x100302d8[c]:"") = -1 . binstrcaseless (0x10030308:[err:data=NULL], 0, 0x10030318:[err:slen=-5<0]) = -1 . binstrcaseless (0x10030318:[err:slen=-5<0], 0, 0x10030308:[err:data=NULL]) = -1 . binstrcaseless (0x100302d8[c]:"", 0, 0x100302d8[c]:"") = 0 . binstrcaseless (0x100302d8[c]:"", 1, 0x100302d8[c]:"") = -1 . binstrcaseless (0x100302e8[c]:"bogus", 1, 0x100302e8[c]:"bogus") = -1 . binstrcaseless (0x100302e8[c]:"bogus", 5, 0x100302d8[c]:"") = 5 . binstrcaseless (0x100302e8[c]:"bogus", -1, 0x100302e8[c]:"bogus") = -1 . binstrcaseless (0x100302e8[c]:"bogus", 0, 0x100302e8[c]:"bogus") = 0 . binstrcaseless (0x100302e8[c]:"bogus", 0, 0x1001dae2d30:"bogus") = 0 . binstrcaseless (0x100302e8[c]:"bogus", 0, 0x1001dae2d30:"BOGUS") = 0 . binstrcaseless (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x100302e8[c]:"bogus") = 10 . binstrcaseless (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x100302e8[c]:"bogus") = -1 # failures: 0 TEST: int binstrr (const_bstring s1, int pos, const_bstring s2); . binstrr (NULL, 0, NULL) = -1 . binstrr (0x100302d8[c]:"", 0, NULL) = -1 . binstrr (NULL, 0, 0x100302d8[c]:"") = -1 . binstrr (0x100302d8[c]:"", 0, 0x10030308:[err:data=NULL]) = -1 . binstrr (0x100302d8[c]:"", 0, 0x10030318:[err:slen=-5<0]) = -1 . binstrr (0x10030308:[err:data=NULL], 0, 0x100302d8[c]:"") = -1 . binstrr (0x10030318:[err:slen=-5<0], 0, 0x100302d8[c]:"") = -1 . binstrr (0x10030308:[err:data=NULL], 0, 0x10030318:[err:slen=-5<0]) = -1 . binstrr (0x10030318:[err:slen=-5<0], 0, 0x10030308:[err:data=NULL]) = -1 . binstrr (0x100302d8[c]:"", 0, 0x100302d8[c]:"") = 0 . binstrr (0x100302d8[c]:"", 1, 0x100302d8[c]:"") = -1 . binstrr (0x100302e8[c]:"bogus", 1, 0x100302e8[c]:"bogus") = 0 . binstrr (0x100302e8[c]:"bogus", 5, 0x100302d8[c]:"") = 5 . binstrr (0x100302e8[c]:"bogus", -1, 0x100302e8[c]:"bogus") = -1 . binstrr (0x100302e8[c]:"bogus", 0, 0x100302e8[c]:"bogus") = 0 . binstrr (0x100302e8[c]:"bogus", 0, 0x1001dae2d30:"bogus") = 0 . binstrr (0x100302e8[c]:"bogus", 0, 0x1001dae2d30:"BOGUS") = -1 . binstrr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x100302e8[c]:"bogus") = -1 . binstrr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x100302e8[c]:"bogus") = 10 TEST: int binstrrcaseless (const_bstring s1, int pos, const_bstring s2); . binstrrcaseless (NULL, 0, NULL) = -1 . binstrrcaseless (0x100302d8[c]:"", 0, NULL) = -1 . binstrrcaseless (NULL, 0, 0x100302d8[c]:"") = -1 . binstrrcaseless (0x100302d8[c]:"", 0, 0x10030308:[err:data=NULL]) = -1 . binstrrcaseless (0x100302d8[c]:"", 0, 0x10030318:[err:slen=-5<0]) = -1 . binstrrcaseless (0x10030308:[err:data=NULL], 0, 0x100302d8[c]:"") = -1 . binstrrcaseless (0x10030318:[err:slen=-5<0], 0, 0x100302d8[c]:"") = -1 . binstrrcaseless (0x10030308:[err:data=NULL], 0, 0x10030318:[err:slen=-5<0]) = -1 . binstrrcaseless (0x10030318:[err:slen=-5<0], 0, 0x10030308:[err:data=NULL]) = -1 . binstrrcaseless (0x100302d8[c]:"", 0, 0x100302d8[c]:"") = 0 . binstrrcaseless (0x100302d8[c]:"", 1, 0x100302d8[c]:"") = -1 . binstrrcaseless (0x100302e8[c]:"bogus", 1, 0x100302e8[c]:"bogus") = 0 . binstrrcaseless (0x100302e8[c]:"bogus", 5, 0x100302d8[c]:"") = 5 . binstrrcaseless (0x100302e8[c]:"bogus", -1, 0x100302e8[c]:"bogus") = -1 . binstrrcaseless (0x100302e8[c]:"bogus", 0, 0x100302e8[c]:"bogus") = 0 . binstrrcaseless (0x100302e8[c]:"bogus", 0, 0x1001dae2d30:"bogus") = 0 . binstrrcaseless (0x100302e8[c]:"bogus", 0, 0x1001dae2d30:"BOGUS") = 0 . binstrrcaseless (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x100302e8[c]:"bogus") = -1 . binstrrcaseless (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x100302e8[c]:"bogus") = 10 # failures: 0 TEST: int binchr (const_bstring s1, int pos, const_bstring s2); . binchr (NULL, 0, NULL) = -1 . binchr (0x100302d8[c]:"", 0, NULL) = -1 . binchr (NULL, 0, 0x100302d8[c]:"") = -1 . binchr (0x100302d8[c]:"", 0, 0x10030308:[err:data=NULL]) = -1 . binchr (0x100302d8[c]:"", 0, 0x10030318:[err:slen=-5<0]) = -1 . binchr (0x10030308:[err:data=NULL], 0, 0x100302d8[c]:"") = -1 . binchr (0x10030318:[err:slen=-5<0], 0, 0x100302d8[c]:"") = -1 . binchr (0x10030318:[err:slen=-5<0], 0, 0x10030308:[err:data=NULL]) = -1 . binchr (0x10030308:[err:data=NULL], 0, 0x10030318:[err:slen=-5<0]) = -1 . binchr (0x100302d8[c]:"", 0, 0x100302d8[c]:"") = -1 . binchr (0x100302e8[c]:"bogus", 0, 0x100302d8[c]:"") = -1 . binchr (0x100302e8[c]:"bogus", 0, 0x100302e8[c]:"bogus") = 0 . binchr (0x100302e8[c]:"bogus", 0, 0x3fffc1049070[c]:"ooooo") = 1 . binchr (0x100302e8[c]:"bogus", 0, 0x1001dae2d30:"bogus") = 0 . binchr (0x100302e8[c]:"bogus", -1, 0x100302e8[c]:"bogus") = -1 . binchr (0x100302e8[c]:"bogus", 10, 0x100302e8[c]:"bogus") = -1 . binchr (0x100302e8[c]:"bogus", 1, 0x100302e8[c]:"bogus") = 1 . binchr (0x100302d8[c]:"", 0, 0x100302e8[c]:"bogus") = -1 . binchr (0x10030338[c]:"xxxxx", 0, 0x100302e8[c]:"bogus") = -1 . binchr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x100302e8[c]:"bogus") = 3 . binchr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x100302e8[c]:"bogus") = 10 # failures: 0 TEST: int binchrr (const_bstring s1, int pos, const_bstring s2); . binchrr (NULL, 0, NULL) = -1 . binchrr (0x100302d8[c]:"", 0, NULL) = -1 . binchrr (NULL, 0, 0x100302d8[c]:"") = -1 . binchrr (0x100302d8[c]:"", 0, 0x100302d8[c]:"") = -1 . binchrr (0x100302e8[c]:"bogus", 0, 0x100302d8[c]:"") = -1 . binchrr (0x100302d8[c]:"", 0, 0x10030308:[err:data=NULL]) = -1 . binchrr (0x100302d8[c]:"", 0, 0x10030318:[err:slen=-5<0]) = -1 . binchrr (0x10030308:[err:data=NULL], 0, 0x100302d8[c]:"") = -1 . binchrr (0x10030318:[err:slen=-5<0], 0, 0x100302d8[c]:"") = -1 . binchrr (0x10030318:[err:slen=-5<0], 0, 0x10030308:[err:data=NULL]) = -1 . binchrr (0x10030308:[err:data=NULL], 0, 0x10030318:[err:slen=-5<0]) = -1 . binchrr (0x100302e8[c]:"bogus", 0, 0x100302e8[c]:"bogus") = 0 . binchrr (0x100302e8[c]:"bogus", 0, 0x1001dae2d30:"bogus") = 0 . binchrr (0x100302e8[c]:"bogus", -1, 0x100302e8[c]:"bogus") = -1 . binchrr (0x100302e8[c]:"bogus", 5, 0x100302e8[c]:"bogus") = 4 . binchrr (0x100302e8[c]:"bogus", 4, 0x100302e8[c]:"bogus") = 4 . binchrr (0x100302e8[c]:"bogus", 1, 0x100302e8[c]:"bogus") = 1 . binchrr (0x100302d8[c]:"", 0, 0x100302e8[c]:"bogus") = -1 . binchrr (0x10030338[c]:"xxxxx", 4, 0x100302e8[c]:"bogus") = -1 . binchrr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x100302e8[c]:"bogus") = -1 . binchrr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x100302e8[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, 0x100302d8[c]:"", 3F) = -1 . bsetstr (0x10030308:[err:data=NULL], 0, NULL, 3F) = -1 . bsetstr (0x10030308:[err:data=NULL], 0, 0x10030308:[err:data=NULL], 3F) = -1 . bsetstr (0x100302d8[c]:"", 0, 0x10030308:[err:data=NULL], 3F) = -1 . bsetstr (0x10030308:[err:data=NULL], 0, 0x100302d8[c]:"", 3F) = -1 . bsetstr (0x10030318:[err:slen=-5<0], 0, NULL, 3F) = -1 . bsetstr (0x10030318:[err:slen=-5<0], 0, 0x10030318:[err:slen=-5<0], 3F) = -1 . bsetstr (0x100302d8[c]:"", 0, 0x10030318:[err:slen=-5<0], 3F) = -1 . bsetstr (0x10030318:[err:slen=-5<0], 0, 0x100302d8[c]:"", 3F) = -1 . bsetstr (0x1001dae2d30[p]:"", 0, 0x100302d8[c]:"", 3F) = 0x1001dae2d30[p]:"" . bsetstr (0x1001dae2d30:"", 0, 0x100302d8[c]:"", 3F) = 0x1001dae2d30:"" . bsetstr (0x1001dae2d30[p]:"", 5, 0x100302d8[c]:"", 3F) = 0x1001dae2d30[p]:"" . bsetstr (0x1001dae2d30:"", 5, 0x100302d8[c]:"", 3F) = 0x1001dae2d30:"?????" . bsetstr (0x1001dae2d30[p]:"", 5, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"" . bsetstr (0x1001dae2d30:"", 5, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"?????bogus" . bsetstr (0x1001dae2d30[p]:"bogus", 0, 0x100302d8[c]:"", 3F) = 0x1001dae2d30[p]:"bogus" . bsetstr (0x1001dae2d30:"bogus", 0, 0x100302d8[c]:"", 3F) = 0x1001dae2d30:"bogus" . bsetstr (0x1001dae2d30[p]:"", 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"" . bsetstr (0x1001dae2d30:"", 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"bogus" . bsetstr (0x1001dae2d30[p]:"bogus", 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"bogus" . bsetstr (0x1001dae2d30:"bogus", 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"bogus" . bsetstr (0x1001dae2d30[p]:"bogus", -1, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"bogus" . bsetstr (0x1001dae2d30:"bogus", -1, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"bogus" . bsetstr (0x1001dae2d30[p]:"bogus", 2, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"bogus" . bsetstr (0x1001dae2d30:"bogus", 2, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"bobogus" . bsetstr (0x1001dae2d30[p]:"bogus", 6, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"bogus" . bsetstr (0x1001dae2d30:"bogus", 6, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"bogus?bogus" . bsetstr (0x100302e8[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, 0x100302d8[c]:"", 3F) = -1 . binsert (0x10030308:[err:data=NULL], 0, NULL, 3F) = -1 . binsert (0x10030308:[err:data=NULL], 0, 0x10030308:[err:data=NULL], 3F) = -1 . binsert (0x100302d8[c]:"", 0, 0x10030308:[err:data=NULL], 3F) = -1 . binsert (0x10030308:[err:data=NULL], 0, 0x100302d8[c]:"", 3F) = -1 . binsert (0x10030318:[err:slen=-5<0], 0, NULL, 3F) = -1 . binsert (0x10030318:[err:slen=-5<0], 0, 0x10030318:[err:slen=-5<0], 3F) = -1 . binsert (0x100302d8[c]:"", 0, 0x10030318:[err:slen=-5<0], 3F) = -1 . binsert (0x10030318:[err:slen=-5<0], 0, 0x100302d8[c]:"", 3F) = -1 . binsert (0x1001dae2d30[p]:"", 0, 0x100302d8[c]:"", 3F) = 0x1001dae2d30[p]:"" . binsert (0x1001dae2d30:"", 0, 0x100302d8[c]:"", 3F) = 0x1001dae2d30:"" . binsert (0x1001dae2d30[p]:"", 5, 0x100302d8[c]:"", 3F) = 0x1001dae2d30[p]:"" . binsert (0x1001dae2d30:"", 5, 0x100302d8[c]:"", 3F) = 0x1001dae2d30:"?????" . binsert (0x1001dae2d30[p]:"", 5, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"" . binsert (0x1001dae2d30:"", 5, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"?????bogus" . binsert (0x1001dae2d30[p]:"bogus", 0, 0x100302d8[c]:"", 3F) = 0x1001dae2d30[p]:"bogus" . binsert (0x1001dae2d30:"bogus", 0, 0x100302d8[c]:"", 3F) = 0x1001dae2d30:"bogus" . binsert (0x1001dae2d30[p]:"", 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"" . binsert (0x1001dae2d30:"", 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"bogus" . binsert (0x1001dae2d30[p]:"bogus", 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"bogus" . binsert (0x1001dae2d30:"bogus", 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"bogusbogus" . binsert (0x1001dae2d30[p]:"bogus", -1, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"bogus" . binsert (0x1001dae2d30:"bogus", -1, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"bogus" . binsert (0x1001dae2d30[p]:"bogus", 2, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"bogus" . binsert (0x1001dae2d30:"bogus", 2, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"bobogusgus" . binsert (0x1001dae2d30[p]:"bogus", 6, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30[p]:"bogus" . binsert (0x1001dae2d30:"bogus", 6, 0x100302e8[c]:"bogus", 3F) = 0x1001dae2d30:"bogus?bogus" . binsert (0x100302e8[c]:"bogus", 6, NULL, 3F) = -1 . binsert (0x1001dae2d30:"aaaaabbbbb", 2, 0x3fffc1048fe8[c]:"abbbbb", '?') = 0x1001dae2d30:"aaabbbaaab" (Alias test) # failures: 0 TEST: int bdelete (bstring s1, int pos, int len); . bdelete (NULL, 0, 0) = -1 . bdelete (0x10030308:[err:data=NULL], 0, 0) = -1 . bdelete (0x10030318:[err:slen=-5<0], 0, 0) = -1 . bdelete (0x1001dae2290[p]:"", 0, 0) = 0x1001dae2290[p]:"" . bdelete (0x1001dae2290:"", 0, 0) = 0x1001dae2290:"" . bdelete (0x1001dae2290[p]:"bogus", 1, 3) = 0x1001dae2290[p]:"bogus" . bdelete (0x1001dae2290:"bogus", 1, 3) = 0x1001dae2290:"bs" . bdelete (0x1001dae2290[p]:"bogus", -1, 3) = 0x1001dae2290[p]:"bogus" . bdelete (0x1001dae2290:"bogus", -1, 3) = 0x1001dae2290:"gus" . bdelete (0x1001dae2290[p]:"bogus", 1, -3) = 0x1001dae2290[p]:"bogus" . bdelete (0x1001dae2290:"bogus", 1, -3) = 0x1001dae2290:"bogus" . bdelete (0x1001dae2290[p]:"bogus", 3, 9) = 0x1001dae2290[p]:"bogus" . bdelete (0x1001dae2290:"bogus", 3, 9) = 0x1001dae2290:"bog" . bdelete (0x1001dae2290[p]:"bogus", 3, 1) = 0x1001dae2290[p]:"bogus" . bdelete (0x1001dae2290:"bogus", 3, 1) = 0x1001dae2290:"bogs" . bdelete (0x1001dae2290[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 4, 300) = 0x1001dae2290[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bdelete (0x1001dae2290:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 4, 300) = 0x1001dae2290:"This" # failures: 0 TEST: int balloc (bstring s, int len); . balloc (NULL, 2) = -1 . balloc (0x10030308:[err:data=NULL], 2) = -1 . balloc (0x10030318:[err:slen=-5<0], 2) = -1 . balloc (0x1001dae2290:"test", 2) = 0 . balloc (0x1001dae2290:"test", -1) = -1 . balloc (0x1001dae2290:"test", 9) = 0 . balloc (0x1001dae2290:"test", 2) = 0 . balloc (0x1001dae2290[p]:"test", 4) = -1 . balloc (0x1001dae2290:"test", 2) = 0 . balloc (0x100302d8[c]:"", 9) = -1 # failures: 0 TEST: int ballocmin (bstring s, int len); . ballocmin (NULL, 2) = [1338] -1 . ballocmin (0x10030308:[err:data=NULL], 2) = [1338] -1 . ballocmin (0x10030318:[err:slen=-5<0], 2) = [1338] -1 . ballocmin (0x1001dae2290:"test", 2) = [1338] 0 . ballocmin (0x1001dae2290:"test", -1) = [1338] -1 . ballocmin (0x1001dae2290:"test", 9) = [1338] 0 . ballocmin (0x1001dae2290:"test", 2) = [1338] 0 . ballocmin (0x1001dae2290:"test", 9) = [1338] 0 . ballocmin (0x1001dae2290[p]:"test", 4) = [1338] -1 . ballocmin (0x1001dae2290:"test", 2) = [1338] 0 . ballocmin (0x100302d8[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 (0x10030308:[err:data=NULL], 5) = -1 . bpattern (0x10030318:[err:slen=-5<0], 5) = -1 . bpattern (0x1001dae2290:"", 0) = 0x1001dae2290:"" . bpattern (0x1001dae2d50:"", 10) = 0x1001dae2d50:"" . bpattern (0x1001dae2860:"", -1) = 0x1001dae2860:"" . bpattern (0x1001dae3b00:"bogus", 0) = 0x1001dae3b00:"" . bpattern (0x1001dae3b40:"bogus", 12) = 0x1001dae3b40:"bogusbogusbo" . bpattern (0x1001dae3b80:"bogus", -1) = 0x1001dae3b80:"bogus" # failures: 0 TEST: bstring bformat (const char * fmt, ...); . bformat (NULL, 1, 2) = NULL . bformat ("%d %s", 1, "xy") = 0x1001dae3bc0:"1 xy" . bformat ("%d %s(%s)", 6, 0x1001dae3c00:"1 xy", 0x100302e8[c]:"bogus") = 0x1001dae3bc0:"6 1 xy(bogus)" . bformat ("%s%s%s%s%s%s%s%s", ...) ... # failures: 0 TEST: int bformata (bstring b, const char * fmt, ...); . bformata (0x1001dae3bc0:"", NULL, 1, 2) = -1 . bformata (0x10030308:[err:data=NULL], "%d %d", 1, 2) = -1 . bformata (0x1001dae3bc0:"", "%d %d", 1, 2) = 0x1001dae3bc0:"1 2" . bformata ("x", "%s%s%s%s%s%s%s%s", ...) ... # failures: 0 TEST: int bassignformat (bstring b, const char * fmt, ...); . bassignformat (0x1001dae3bc0:"Initial", NULL, 1, 2) = -1 . bassignformat (0x10030308:[err:data=NULL], "%d %d", 1, 2) = -1 . bassignformat (0x1001dae3bc0:"Initial", "%d %d", 1, 2) = 0x1001dae3bc0:"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 (0x10030308:[err:data=NULL], '?') = (nil) . bsplit (0x10030318:[err:slen=-5<0], '?') = (nil) . bsplit (0x100302d8[c]:"", '?') = {0x1001dae3be0:"":<1>} . bsplit (0x100302e8[c]:"bogus", 'o') = {0x1001dae3be0:"b", 0x1001dae3c20:"gus":<2>} . bsplit (0x100302e8[c]:"bogus", 's') = {0x1001dae3c20:"bogu", 0x1001dae3be0:"":<2>} . bsplit (0x100302e8[c]:"bogus", 'b') = {0x1001dae3be0:"", 0x1001dae3c20:"ogus":<2>} . bsplit (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 'o') = {0x1001dae3c20:"This is a b", 0x1001dae3be0:"gus but reas", 0x1001dae4890:"nably l", 0x1001dae48d0:"ng string. Just l", 0x1001dae4940:"ng en", 0x1001dae4980:"ugh t", 0x1001dae49c0:" cause s", 0x1001dae4a00:"me mall", 0x1001dae4ad0:"cing.":<9>} . bsplit (0x3fffc1049028[c]:",,,,", ',') = {0x1001dae48b0:"", 0x1001dae3c00:"", 0x1001dae4870:"", 0x1001dae3bc0:"", 0x1001dae49e0:"":<5>} TEST: struct bstrList * bsplitstr (bstring str, const_bstring splitStr); . bsplitstr (NULL, NULL) = (nil) . bsplitstr (0x10030308:[err:data=NULL], 0x100302d8[c]:"") = (nil) . bsplitstr (0x10030318:[err:slen=-5<0], 0x100302d8[c]:"") = (nil) . bsplitstr (0x100302e8[c]:"bogus", 0x100302d8[c]:"") = {0x1001dae48b0:"b", 0x1001dae4a20:"o", 0x1001dae4af0:"g", 0x1001dae4890:"u", 0x1001dae4b60:"s":<5>} . bsplitstr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1049008[c]:"is") = {0x1001dae48b0:"Th", 0x1001dae4980:" ", 0x1001dae49c0:" a bogus but reasonably long string. Just long enough to cause some mallocing.":<3>} . bsplitstr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1049018[c]:"ng") = {0x1001dae49c0:"This is a bogus but reasonably lo", 0x1001dae4980:" stri", 0x1001dae48b0:". Just lo", 0x1001dae49e0:" enough to cause some malloci", 0x1001dae3c20:".":<5>} # failures: 0 TEST: extern struct bstrList * bsplits (const_bstring str, const_bstring splitStr); . bsplits (NULL, 0x3fffc1048fe8[c]:"o") = (nil) . bsplits (0x3fffc1048fe8[c]:"o", NULL) = (nil) . bsplits (0x100302d8[c]:"", 0x3fffc1048fe8[c]:"o") {0x1001dae4890:"":<1>} . bsplits (0x100302d8[c]:"", 0x3fffc1049028[c]:"uo") {0x1001dae4890:"":<1>} . bsplits (0x100302e8[c]:"bogus", 0x100302d8[c]:"") {0x1001dae4890:"bogus":<1>} . bsplits (0x100302e8[c]:"bogus", 0x3fffc1048fe8[c]:"o") {0x1001dae4890:"b", 0x1001dae4ad0:"gus":<2>} . bsplits (0x100302e8[c]:"bogus", 0x3fffc1048ff8[c]:"s") {0x1001dae4ad0:"bogu", 0x1001dae4890:"":<2>} . bsplits (0x100302e8[c]:"bogus", 0x3fffc1049008[c]:"b") {0x1001dae4890:"", 0x1001dae4ad0:"ogus":<2>} . bsplits (0x100302e8[c]:"bogus", 0x3fffc1049018[c]:"bs") {0x1001dae4ad0:"", 0x1001dae4890:"ogu", 0x1001dae4d40:"":<3>} . bsplits (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1048fe8[c]:"o") {0x1001dae4d40:"This is a b", 0x1001dae4890:"gus but reas", 0x1001dae4ad0:"nably l", 0x1001dae4da0:"ng string. Just l", 0x1001dae4870:"ng en", 0x1001dae3be0:"ugh t", 0x1001dae3c00:" cause s", 0x1001dae4d20:"me mall", 0x1001dae48d0:"cing.":<9>} . bsplits (0x100302e8[c]:"bogus", 0x3fffc1049028[c]:"uo") {0x1001dae49f0:"b", 0x1001dae4b60:"g", 0x1001dae49d0:"s":<3>} # failures: 0 TEST: bstream integrated test . bsbufflength (bs, 0) -> 1024 . bspeek () -> 0x1001dae4ea0:"" . bsreadln ('?') -> 0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsunread (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") . bspeek () -> 0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('?') -> 0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('.') -> 0x1001dae4ea0:"This is a bogus but reasonably long string." . bsunread (0x1001dae4ea0:"This is a bogus but reasonably long string.") . bspeek () -> 0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('.') -> 0x1001dae4ea0:"This is a bogus but reasonably long string." . bssplitscb (' ') -> 0x1001dae4ea0:"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 (0x100302d8[c]:"", 0, NULL) = -1 . bninchr (NULL, 0, 0x100302d8[c]:"") = -1 . bninchr (0x100302e8[c]:"bogus", 3, 0x10030308:[err:data=NULL]) = -1 . bninchr (0x10030308:[err:data=NULL], 3, 0x100302e8[c]:"bogus") = -1 . bninchr (0x100302d8[c]:"", 0, 0x100302d8[c]:"") = -1 . bninchr (0x100302e8[c]:"bogus", 0, 0x100302d8[c]:"") = -1 . bninchr (0x100302e8[c]:"bogus", 0, 0x100302e8[c]:"bogus") = -1 . bninchr (0x100302e8[c]:"bogus", 1, 0x100302e8[c]:"bogus") = -1 . bninchr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3, 0x100302e8[c]:"bogus") = 4 . bninchr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3, 0x1001dae4ea0:"bogus") = 4 . bninchr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", -1, 0x100302e8[c]:"bogus") = -1 . bninchr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 1000, 0x100302e8[c]:"bogus") = -1 . bninchr (0x10030338[c]:"xxxxx", 0, 0x100302e8[c]:"bogus") = 0 . bninchr (0x10030338[c]:"xxxxx", 1, 0x100302e8[c]:"bogus") = 1 . bninchr (0x100302d8[c]:"", 0, 0x100302e8[c]:"bogus") = -1 . bninchr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x100302e8[c]:"bogus") = 0 . bninchr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x100302e8[c]:"bogus") = 15 # failures: 0 TEST: int bninchrr (const_bstring s1, int pos, const_bstring s2); . bninchrr (NULL, 0, NULL) = -1 . bninchrr (0x100302d8[c]:"", 0, NULL) = -1 . bninchrr (NULL, 0, 0x100302d8[c]:"") = -1 . bninchrr (0x100302d8[c]:"", 0, 0x100302d8[c]:"") = -1 . bninchrr (0x100302e8[c]:"bogus", 0, 0x100302d8[c]:"") = -1 . bninchrr (0x100302e8[c]:"bogus", 0, 0x10030308:[err:data=NULL]) = -1 . bninchrr (0x10030308:[err:data=NULL], 0, 0x100302e8[c]:"bogus") = -1 . bninchrr (0x100302e8[c]:"bogus", 0, 0x100302e8[c]:"bogus") = -1 . bninchrr (0x100302e8[c]:"bogus", 4, 0x100302e8[c]:"bogus") = -1 . bninchrr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x100302e8[c]:"bogus") = 9 . bninchrr (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x1001dae4ea0:"bogus") = 9 . bninchrr (0x10030338[c]:"xxxxx", 4, 0x100302e8[c]:"bogus") = 4 . bninchrr (0x100302d8[c]:"", 0, 0x100302e8[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, 0x100302d8[c]:"", 3F) = -1 . breplace (0x10030308:[err:data=NULL], 1, 3, 0x100302e8[c]:"bogus", 3F) = -1 . breplace (0x100302e8[c]:"bogus", 1, 3, 0x10030308:[err:data=NULL], 3F) = -1 . breplace (0x1001dae4ea0[p]:"", 0, 0, 0x100302d8[c]:"", 3F) = 0x1001dae4ea0[p]:"" . breplace (0x1001dae4ea0:"", 0, 0, 0x100302d8[c]:"", 3F) = 0x1001dae4ea0:"" . breplace (0x1001dae4ea0[p]:"", 5, 0, 0x100302d8[c]:"", 3F) = 0x1001dae4ea0[p]:"" . breplace (0x1001dae4ea0:"", 5, 0, 0x100302d8[c]:"", 3F) = 0x1001dae4ea0:"?????" . breplace (0x1001dae4ea0[p]:"", 5, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0[p]:"" . breplace (0x1001dae4ea0:"", 5, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0:"?????bogus" . breplace (0x1001dae4ea0[p]:"bogus", 0, 0, 0x100302d8[c]:"", 3F) = 0x1001dae4ea0[p]:"bogus" . breplace (0x1001dae4ea0:"bogus", 0, 0, 0x100302d8[c]:"", 3F) = 0x1001dae4ea0:"bogus" . breplace (0x1001dae4ea0[p]:"", 0, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0[p]:"" . breplace (0x1001dae4ea0:"", 0, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0:"bogus" . breplace (0x1001dae4ea0[p]:"bogus", 0, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0[p]:"bogus" . breplace (0x1001dae4ea0:"bogus", 0, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0:"bogusbogus" . breplace (0x1001dae4ea0[p]:"bogus", 1, 3, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0[p]:"bogus" . breplace (0x1001dae4ea0:"bogus", 1, 3, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0:"bboguss" . breplace (0x1001dae4ea0[p]:"bogus", 3, 8, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0[p]:"bogus" . breplace (0x1001dae4ea0:"bogus", 3, 8, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0:"bogbogus" . breplace (0x1001dae4ea0[p]:"bogus", -1, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0[p]:"bogus" . breplace (0x1001dae4ea0:"bogus", -1, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0:"bogus" . breplace (0x1001dae4ea0[p]:"bogus", 2, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0[p]:"bogus" . breplace (0x1001dae4ea0:"bogus", 2, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0:"bobogusgus" . breplace (0x1001dae4ea0[p]:"bogus", 6, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0[p]:"bogus" . breplace (0x1001dae4ea0:"bogus", 6, 0, 0x100302e8[c]:"bogus", 3F) = 0x1001dae4ea0:"bogus?bogus" . breplace (0x100302e8[c]:"bogus", 6, 0, NULL, 3F) = -1 # failures: 0 TEST: int bassign (bstring b0, const_bstring b1); . bassign (NULL, NULL) = -1 . bassign (NULL, 0x100302d8[c]:"") = -1 . bassign (0x100302d8[c]:"", NULL) = -1 . bassign (0x10030308:[err:data=NULL], 0x100302d8[c]:"") = -1 . bassign (0x10030318:[err:slen=-5<0], 0x100302d8[c]:"") = -1 . bassign (0x100302d8[c]:"", 0x10030308:[err:data=NULL]) = -1 . bassign (0x100302d8[c]:"", 0x10030318:[err:slen=-5<0]) = -1 . bassign (0x1001dae4ea0[p]:"", 0x100302d8[c]:"") = 0x1001dae4ea0[p]:"" . bassign (0x1001dae4ea0:"", 0x100302d8[c]:"") = 0x1001dae4ea0:"" . bassign (0x1001dae4ea0[p]:"", 0x100302e8[c]:"bogus") = 0x1001dae4ea0[p]:"" . bassign (0x1001dae4ea0:"", 0x100302e8[c]:"bogus") = 0x1001dae4ea0:"bogus" . bassign (0x1001dae4ea0[p]:"bogus", 0x100302d8[c]:"") = 0x1001dae4ea0[p]:"bogus" . bassign (0x1001dae4ea0:"bogus", 0x100302d8[c]:"") = 0x1001dae4ea0:"" . bassign (0x1001dae4ea0[p]:"bogus", 0x100302e8[c]:"bogus") = 0x1001dae4ea0[p]:"bogus" . bassign (0x1001dae4ea0:"bogus", 0x100302e8[c]:"bogus") = 0x1001dae4ea0:"bogus" # failures: 0 TEST: int bstrchr (const_bstring s1, int c); . bstrchr (NULL, 0) = -1 . bstrchr (0x10030308:[err:data=NULL], 98) = -1 . bstrchr (0x10030318:[err:slen=-5<0], 115) = -1 . bstrchr (0x100302d8[c]:"", 0) = -1 . bstrchr (0x100302e8[c]:"bogus", 0) = -1 . bstrchr (0x100302e8[c]:"bogus", 98) = 0 . bstrchr (0x100302e8[c]:"bogus", 115) = 4 . bstrchr (0x100302e8[c]:"bogus", 113) = -1 . bstrchr (0x10030338[c]:"xxxxx", 0) = -1 . bstrchr (0x10030338[c]:"xxxxx", 98) = -1 . bstrchr (0x100302f8[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 (0x10030308:[err:data=NULL], 98) = -1 . bstrrchr (0x10030318:[err:slen=-5<0], 115) = -1 . bstrrchr (0x100302d8[c]:"", 0) = -1 . bstrrchr (0x100302e8[c]:"bogus", 0) = -1 . bstrrchr (0x100302e8[c]:"bogus", 98) = 0 . bstrrchr (0x100302e8[c]:"bogus", 115) = 4 . bstrrchr (0x100302e8[c]:"bogus", 113) = -1 . bstrrchr (0x10030338[c]:"xxxxx", 0) = -1 . bstrrchr (0x10030338[c]:"xxxxx", 98) = -1 . bstrrchr (0x100302f8[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 (0x10030308:[err:data=NULL], 98, 0) = -1 . bstrchrp (0x10030318:[err:slen=-5<0], 115, 0) = -1 . bstrchrp (0x100302e8[c]:"bogus", 98, -1) = -1 . bstrchrp (0x100302e8[c]:"bogus", 98, 5) = -1 . bstrchrp (0x100302d8[c]:"", 0, 0) = -1 . bstrchrp (0x100302e8[c]:"bogus", 0, 0) = -1 . bstrchrp (0x100302e8[c]:"bogus", 98, 0) = 0 . bstrchrp (0x100302e8[c]:"bogus", 98, 1) = -1 . bstrchrp (0x100302e8[c]:"bogus", 115, 0) = 4 . bstrchrp (0x100302e8[c]:"bogus", 113, 0) = -1 TEST: int bstrrchrp (const_bstring s1, int c, int pos); . bstrrchrp (NULL, 0, 0) = -1 . bstrrchrp (0x10030308:[err:data=NULL], 98, 0) = -1 . bstrrchrp (0x10030318:[err:slen=-5<0], 115, 0) = -1 . bstrrchrp (0x100302e8[c]:"bogus", 98, -1) = -1 . bstrrchrp (0x100302e8[c]:"bogus", 98, 5) = -1 . bstrrchrp (0x100302d8[c]:"", 0, 0) = -1 . bstrrchrp (0x100302e8[c]:"bogus", 0, 0) = -1 . bstrrchrp (0x100302e8[c]:"bogus", 98, 0) = 0 . bstrrchrp (0x100302e8[c]:"bogus", 98, 4) = 0 . bstrrchrp (0x100302e8[c]:"bogus", 115, 4) = 4 . bstrrchrp (0x100302e8[c]:"bogus", 115, 0) = -1 # failures: 0 TEST: int bcatcstr (bstring b0, const char * s); . bcatcstr (NULL, (nil)) = -1 . bcatcstr (NULL, 0x1001a118) = -1 . bcatcstr (0x1001dae4ea0[p]:"", (nil)) = 0x1001dae4ea0[p]:"" . bcatcstr (0x1001dae4ea0:"", (nil)) = 0x1001dae4ea0:"" . bcatcstr (0x10030308:[err:data=NULL], 0x1001a320) = -1 . bcatcstr (0x10030318:[err:slen=-5<0], 0x1001a320) = -1 . bcatcstr (0x1001dae4ea0[p]:"", 0x1001a118) = 0x1001dae4ea0[p]:"" . bcatcstr (0x1001dae4ea0:"", 0x1001a118) = 0x1001dae4ea0:"" . bcatcstr (0x1001dae4ea0[p]:"", 0x1001a320) = 0x1001dae4ea0[p]:"" . bcatcstr (0x1001dae4ea0:"", 0x1001a320) = 0x1001dae4ea0:"bogus" . bcatcstr (0x1001dae4ea0[p]:"bogus", 0x1001a118) = 0x1001dae4ea0[p]:"bogus" . bcatcstr (0x1001dae4ea0:"bogus", 0x1001a118) = 0x1001dae4ea0:"bogus" . bcatcstr (0x1001dae4ea0[p]:"bogus", 0x1001a320) = 0x1001dae4ea0[p]:"bogus" . bcatcstr (0x1001dae4ea0:"bogus", 0x1001a320) = 0x1001dae4ea0:"bogusbogus" # failures: 0 TEST: int bcatblk (bstring b0, const char * s); . bcatblk (NULL, (nil), 0) = -1 . bcatblk (NULL, 0x1001a118, 0) = -1 . bcatblk (0x1001dae4ea0[p]:"", (nil)) = 0x1001dae4ea0[p]:"" . bcatblk (0x1001dae4ea0:"", (nil)) = 0x1001dae4ea0:"" . bcatblk (0x1001dae4ea0[p]:"", (nil)) = 0x1001dae4ea0[p]:"" . bcatblk (0x1001dae4ea0:"", (nil)) = 0x1001dae4ea0:"" . bcatblk (0x10030308:[err:data=NULL], (nil), 0) = -1 . bcatblk (0x10030318:[err:slen=-5<0], (nil), 0) = -1 . bcatblk (0x1001dae4ea0[p]:"", 0x1001a118) = 0x1001dae4ea0[p]:"" . bcatblk (0x1001dae4ea0:"", 0x1001a118) = 0x1001dae4ea0:"" . bcatblk (0x1001dae4ea0[p]:"", 0x1001a118) = 0x1001dae4ea0[p]:"" . bcatblk (0x1001dae4ea0:"", 0x1001a118) = 0x1001dae4ea0:"" . bcatblk (0x1001dae4ea0[p]:"", 0x1001a320) = 0x1001dae4ea0[p]:"" . bcatblk (0x1001dae4ea0:"", 0x1001a320) = 0x1001dae4ea0:"bogus" . bcatblk (0x1001dae4ea0[p]:"bogus", 0x1001a118) = 0x1001dae4ea0[p]:"bogus" . bcatblk (0x1001dae4ea0:"bogus", 0x1001a118) = 0x1001dae4ea0:"bogus" . bcatblk (0x1001dae4ea0[p]:"bogus", 0x1001a320) = 0x1001dae4ea0[p]:"bogus" . bcatblk (0x1001dae4ea0:"bogus", 0x1001a320) = 0x1001dae4ea0:"bogusbogus" . bcatblk (0x1001dae4ea0[p]:"bogus", 0x1001a320) = 0x1001dae4ea0[p]:"bogus" . bcatblk (0x1001dae4ea0:"bogus", 0x1001a320) = 0x1001dae4ea0:"bogus" # failures: 0 TEST: int bfindreplace (bstring b, const_bstring f, const_bstring r, int pos); . bfindreplace (NULL, NULL, NULL, 0) = -1 . bfindreplace (0x100302e8[c]:"bogus", NULL, 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplace (0x100302e8[c]:"bogus", 0x3fffc1048ff8[c]:"s", NULL, 0) = -1 . bfindreplace (0x10030308:[err:data=NULL], 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplace (0x10030318:[err:slen=-5<0], 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplace (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100302e8[c]:"bogus", 0x3fffc1048fd8[c]:"funny", 0) = -1 . bfindreplace (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100302e8[c]:"bogus", 0x3fffc1048fd8[c]:"funny", 0) -> 0x1001dae4ea0:"This is a funny but reasonably long string. Just long enough to cause some mallocing." . bfindreplace (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplace (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) -> 0x1001dae4ea0:"Thiweird iweird a boguweird but reaweirdonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplace (0x1001dae4ea0[p]:"bogus", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplace (0x1001dae4ea0:"bogus", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) -> 0x1001dae4ea0:"boguweird" . bfindreplace (0x1001dae4ea0[p]:"bogus", 0x3fffc1049058[c]:"S", 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplace (0x1001dae4ea0:"bogus", 0x3fffc1049058[c]:"S", 0x3fffc1048fe8[c]:"weird", 0) -> 0x1001dae4ea0:"bogus" . bfindreplace (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 27) = -1 . bfindreplace (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 27) -> 0x1001dae4ea0:"This is a bogus but reasonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplace (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1049008[c]:"long", 0x3fffc1049018[c]:"big", 0) = -1 . bfindreplace (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1049008[c]:"long", 0x3fffc1049018[c]:"big", 0) -> 0x1001dae4ea0:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplace (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1049068[c]:"LONG", 0x3fffc1049018[c]:"big", 0) = -1 . bfindreplace (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1049068[c]:"LONG", 0x3fffc1049018[c]:"big", 0) -> 0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bfindreplace (0x1001dae4ea0[p]:"sstsst", 0x3fffc1048ff8[c]:"s", 0x3fffc1049028[c]:"ss", 0) = -1 . bfindreplace (0x1001dae4ea0:"sstsst", 0x3fffc1048ff8[c]:"s", 0x3fffc1049028[c]:"ss", 0) -> 0x1001dae4ea0:"sssstsssst" . bfindreplace (0x1001dae4ea0[p]:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x3fffc1048ff8[c]:"s", 0x3fffc1049028[c]:"ss", 0) = -1 . bfindreplace (0x1001dae4ea0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x3fffc1048ff8[c]:"s", 0x3fffc1049028[c]:"ss", 0) -> 0x1001dae4ea0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx" TEST: int bfindreplacecaseless (bstring b, const_bstring f, const_bstring r, int pos); . bfindreplacecaseless (NULL, NULL, NULL, 0) = -1 . bfindreplacecaseless (0x100302e8[c]:"bogus", NULL, 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplacecaseless (0x100302e8[c]:"bogus", 0x3fffc1048ff8[c]:"s", NULL, 0) = -1 . bfindreplacecaseless (0x10030308:[err:data=NULL], 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplacecaseless (0x10030318:[err:slen=-5<0], 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplacecaseless (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100302e8[c]:"bogus", 0x3fffc1048fd8[c]:"funny", 0) = -1 . bfindreplacecaseless (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x100302e8[c]:"bogus", 0x3fffc1048fd8[c]:"funny", 0) -> 0x1001dae4ea0:"This is a funny but reasonably long string. Just long enough to cause some mallocing." . bfindreplacecaseless (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplacecaseless (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) -> 0x1001dae4ea0:"Thiweird iweird a boguweird but reaweirdonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplacecaseless (0x1001dae4ea0[p]:"bogus", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplacecaseless (0x1001dae4ea0:"bogus", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 0) -> 0x1001dae4ea0:"boguweird" . bfindreplacecaseless (0x1001dae4ea0[p]:"bogus", 0x3fffc1049058[c]:"S", 0x3fffc1048fe8[c]:"weird", 0) = -1 . bfindreplacecaseless (0x1001dae4ea0:"bogus", 0x3fffc1049058[c]:"S", 0x3fffc1048fe8[c]:"weird", 0) -> 0x1001dae4ea0:"boguweird" . bfindreplacecaseless (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 27) = -1 . bfindreplacecaseless (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1048ff8[c]:"s", 0x3fffc1048fe8[c]:"weird", 27) -> 0x1001dae4ea0:"This is a bogus but reasonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplacecaseless (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1049008[c]:"long", 0x3fffc1049018[c]:"big", 0) = -1 . bfindreplacecaseless (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1049008[c]:"long", 0x3fffc1049018[c]:"big", 0) -> 0x1001dae4ea0:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplacecaseless (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1049068[c]:"LONG", 0x3fffc1049018[c]:"big", 0) = -1 . bfindreplacecaseless (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffc1049068[c]:"LONG", 0x3fffc1049018[c]:"big", 0) -> 0x1001dae4ea0:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplacecaseless (0x1001dae4ea0[p]:"sstsst", 0x3fffc1048ff8[c]:"s", 0x3fffc1049028[c]:"ss", 0) = -1 . bfindreplacecaseless (0x1001dae4ea0:"sstsst", 0x3fffc1048ff8[c]:"s", 0x3fffc1049028[c]:"ss", 0) -> 0x1001dae4ea0:"sssstsssst" . bfindreplacecaseless (0x1001dae4ea0[p]:"sstsst", 0x3fffc1049058[c]:"S", 0x3fffc1049028[c]:"ss", 0) = -1 . bfindreplacecaseless (0x1001dae4ea0:"sstsst", 0x3fffc1049058[c]:"S", 0x3fffc1049028[c]:"ss", 0) -> 0x1001dae4ea0:"sssstsssst" . bfindreplacecaseless (0x1001dae4ea0[p]:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x3fffc1048ff8[c]:"s", 0x3fffc1049028[c]:"ss", 0) = -1 . bfindreplacecaseless (0x1001dae4ea0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x3fffc1048ff8[c]:"s", 0x3fffc1049028[c]:"ss", 0) -> 0x1001dae4ea0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx" # failures: 0 TEST: int biseqcstr (const_bstring b, const char * s); . biseqcstr (NULL, (nil):<(null)>) = -1 . biseqcstr (0x100302d8[c]:"", (nil):<(null)>) = -1 . biseqcstr (NULL, 0x1001a118:<>) = -1 . biseqcstr (0x10030308:[err:data=NULL], 0x1001a118:<>) = -1 . biseqcstr (0x10030318:[err:slen=-5<0], 0x1001a320:) = -1 . biseqcstr (0x100302d8[c]:"", 0x1001a118:<>) = 1 . biseqcstr (0x100302e8[c]:"bogus", 0x1001a320:) = 1 . biseqcstr (0x100302d8[c]:"", 0x1001a320:) = 0 . biseqcstr (0x100302e8[c]:"bogus", 0x1001a118:<>) = 0 . biseqcstr (0x1001dae4ea0:"bpgus", 0x1001a320:) = 0 TEST: int biseqcstrcaseless (const_bstring b, const char * s); . biseqcstrcaseless (NULL, (nil):<(null)>) = -1 . biseqcstrcaseless (0x100302d8[c]:"", (nil):<(null)>) = -1 . biseqcstrcaseless (NULL, 0x1001a118:<>) = -1 . biseqcstrcaseless (0x10030308:[err:data=NULL], 0x1001a118:<>) = -1 . biseqcstrcaseless (0x10030318:[err:slen=-5<0], 0x1001a320:) = -1 . biseqcstrcaseless (0x100302d8[c]:"", 0x1001a118:<>) = 1 . biseqcstrcaseless (0x100302e8[c]:"bogus", 0x1001a320:) = 1 . biseqcstrcaseless (0x100302e8[c]:"bogus", 0x1001aad0:) = 1 . biseqcstrcaseless (0x100302d8[c]:"", 0x1001a320:) = 0 . biseqcstrcaseless (0x100302e8[c]:"bogus", 0x1001a118:<>) = 0 . biseqcstrcaseless (0x1001dae4ea0:"bpgus", 0x1001a320:) = 0 TEST: int btoupper (bstring b); . btoupper (NULL) = -1 . btoupper (0x10030308:[err:data=NULL]) = -1 . btoupper (0x10030318:[err:slen=-5<0]) = -1 . btoupper (0x1001dae4ea0[p]:"") = 0x1001dae4ea0[p]:"" . btoupper (0x1001dae4ea0:"") = 0x1001dae4ea0:"" . btoupper (0x1001dae4ea0[p]:"bogus") = 0x1001dae4ea0[p]:"bogus" . btoupper (0x1001dae4ea0:"bogus") = 0x1001dae4ea0:"BOGUS" . btoupper (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . btoupper (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1001dae4ea0:"THIS IS A BOGUS BUT REASONABLY LONG STRING. JUST LONG ENOUGH TO CAUSE SOME MALLOCING." TEST: int btolower (bstring b); . btolower (NULL) = -1 . btolower (0x10030308:[err:data=NULL]) = -1 . btolower (0x10030318:[err:slen=-5<0]) = -1 . btolower (0x1001dae4ea0[p]:"") = 0x1001dae4ea0[p]:"" . btolower (0x1001dae4ea0:"") = 0x1001dae4ea0:"" . btolower (0x1001dae4ea0[p]:"bogus") = 0x1001dae4ea0[p]:"bogus" . btolower (0x1001dae4ea0:"bogus") = 0x1001dae4ea0:"bogus" . btolower (0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1001dae4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . btolower (0x1001dae4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1001dae4ea0:"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 (0x100302d8[c]:"", NULL) = -32768 . bstricmp (NULL, 0x100302d8[c]:"") = -32768 . bstricmp (0x100302d8[c]:"", 0x10030308:[err:data=NULL]) = -32768 . bstricmp (0x10030308:[err:data=NULL], 0x100302d8[c]:"") = -32768 . bstricmp (0x100302e8[c]:"bogus", 0x10030318:[err:slen=-5<0]) = -32768 . bstricmp (0x10030318:[err:slen=-5<0], 0x100302e8[c]:"bogus") = -32768 . bstricmp (0x100302d8[c]:"", 0x100302d8[c]:"") = 0 . bstricmp (0x100302e8[c]:"bogus", 0x3fffc1049048[c]:"bOgUs") = 0 . bstricmp (0x100302e8[c]:"bogus", 0x3fffc1049058[c]:"bOgUR") = 1 . bstricmp (0x100302e8[c]:"bogus", 0x3fffc1049068[c]:"bOgUt") = -1 . bstricmp (0x100302e8[c]:"bogus", 0x3fffc1049048[c]:"bOgUs") = -256 . bstricmp (0x3fffc1049048[c]:"bOgUs", 0x100302e8[c]:"bogus") = 256 TEST: int bstrnicmp (const_bstring b0, const_bstring b1); . bstrnicmp (NULL, NULL, 0) = -32768 . bstrnicmp (0x100302d8[c]:"", NULL, 0) = -32768 . bstrnicmp (NULL, 0x100302d8[c]:"", 0) = -32768 . bstrnicmp (0x100302d8[c]:"", 0x10030308:[err:data=NULL], 0) = -32768 . bstrnicmp (0x10030308:[err:data=NULL], 0x100302d8[c]:"", 0) = -32768 . bstrnicmp (0x100302e8[c]:"bogus", 0x10030318:[err:slen=-5<0], 5) = -32768 . bstrnicmp (0x10030318:[err:slen=-5<0], 0x100302e8[c]:"bogus", 5) = -32768 . bstrnicmp (0x100302d8[c]:"", 0x100302d8[c]:"", 0) = 0 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049048[c]:"bOgUs", 0) = 0 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049048[c]:"bOgUs", 5) = 0 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049048[c]:"bOgUs", 4) = 0 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049048[c]:"bOgUs", 6) = 0 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049058[c]:"bOgUR", 5) = 33 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049058[c]:"bOgUR", 4) = 0 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049058[c]:"bOgUR", 6) = 33 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049068[c]:"bOgUt", 5) = -1 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049068[c]:"bOgUt", 4) = 0 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049068[c]:"bOgUt", 6) = -1 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049048[c]:"bOgUs", 5) = 0 . bstrnicmp (0x100302e8[c]:"bogus", 0x3fffc1049048[c]:"bOgUs", 6) = -256 . bstrnicmp (0x3fffc1049048[c]:"bOgUs", 0x100302e8[c]:"bogus", 6) = 256 TEST: int biseqcaseless (const_bstring b0, const_bstring b1); . biseqcaseless (NULL, NULL) = -1 . biseqcaseless (0x100302d8[c]:"", NULL) = -1 . biseqcaseless (NULL, 0x100302d8[c]:"") = -1 . biseqcaseless (0x100302d8[c]:"", 0x10030308:[err:data=NULL]) = -1 . biseqcaseless (0x10030308:[err:data=NULL], 0x100302d8[c]:"") = -1 . biseqcaseless (0x100302e8[c]:"bogus", 0x10030318:[err:slen=-5<0]) = -1 . biseqcaseless (0x10030318:[err:slen=-5<0], 0x100302e8[c]:"bogus") = -1 . biseqcaseless (0x100302d8[c]:"", 0x100302d8[c]:"") = 1 . biseqcaseless (0x100302e8[c]:"bogus", 0x3fffc1049048[c]:"bOgUs") = 1 . biseqcaseless (0x100302e8[c]:"bogus", 0x3fffc1049058[c]:"bOgUR") = 0 . biseqcaseless (0x100302e8[c]:"bogus", 0x3fffc1049068[c]:"bOgUt") = 0 TEST: bgets/breads test TEST: trim functions . bltrim (0x3fffc1049018[c]:" bogus string ") = 0x1001dae4de0:"bogus string " . brtrim (0x3fffc1049018[c]:" bogus string ") = 0x1001dae4de0:" bogus string" . btrim (0x3fffc1049018[c]:" bogus string ") = 0x1001dae4de0:"bogus string" . bltrim (0x3fffc1049028[c]:"bogus string ") = 0x1001dae4de0:"bogus string " . brtrim (0x3fffc1049028[c]:"bogus string ") = 0x1001dae4de0:"bogus string" . btrim (0x3fffc1049028[c]:"bogus string ") = 0x1001dae4de0:"bogus string" . bltrim (0x3fffc1049038[c]:" bogus string") = 0x1001dae4de0:"bogus string" . brtrim (0x3fffc1049038[c]:" bogus string") = 0x1001dae4de0:" bogus string" . btrim (0x3fffc1049038[c]:" bogus string") = 0x1001dae4de0:"bogus string" . bltrim (0x3fffc1049048[c]:"bogus string") = 0x1001dae4de0:"bogus string" . brtrim (0x3fffc1049048[c]:"bogus string") = 0x1001dae4de0:"bogus string" . btrim (0x3fffc1049048[c]:"bogus string") = 0x1001dae4de0:"bogus string" . bltrim (0x3fffc1049058[c]:" ") = 0x1001dae4de0:"" . brtrim (0x3fffc1049058[c]:" ") = 0x1001dae4de0:"" . btrim (0x3fffc1049058[c]:" ") = 0x1001dae4de0:"" . bltrim (0x3fffc1049068[c]:"") = 0x1001dae4de0:"" . brtrim (0x3fffc1049068[c]:"") = 0x1001dae4de0:"" . btrim (0x3fffc1049068[c]:"") = 0x1001dae4de0:"" TEST: int bassignmidstr (bstring b0, const_bstring b1, int left, int len); . bassignmidstr (NULL, NULL, 0, 1) = -1 . bassignmidstr (NULL, 0x100302d8[c]:"", 0, 1) = -1 . bassignmidstr (0x100302d8[c]:"", NULL, 0, 1) = -1 . bassignmidstr (0x10030308:[err:data=NULL], 0x100302d8[c]:"", 0, 1) = -1 . bassignmidstr (0x10030318:[err:slen=-5<0], 0x100302d8[c]:"", 0, 1) = -1 . bassignmidstr (0x100302d8[c]:"", 0x10030308:[err:data=NULL], 0, 1) = -1 . bassignmidstr (0x100302d8[c]:"", 0x10030318:[err:slen=-5<0], 0, 1) = -1 . bassignmidstr (0x1001dae4de0[p]:"", 0x100302d8[c]:"", 0, 1) = 0x1001dae4de0[p]:"" . bassignmidstr (0x1001dae4de0:"", 0x100302d8[c]:"", 0, 1) = 0x1001dae4de0:"" . bassignmidstr (0x1001dae4de0[p]:"", 0x100302e8[c]:"bogus", 1, 3) = 0x1001dae4de0[p]:"" . bassignmidstr (0x1001dae4de0:"", 0x100302e8[c]:"bogus", 1, 3) = 0x1001dae4de0:"ogu" . bassignmidstr (0x1001dae4de0[p]:"bogus", 0x100302d8[c]:"", 0, 1) = 0x1001dae4de0[p]:"bogus" . bassignmidstr (0x1001dae4de0:"bogus", 0x100302d8[c]:"", 0, 1) = 0x1001dae4de0:"" . bassignmidstr (0x1001dae4de0[p]:"bogus", 0x100302e8[c]:"bogus", 1, 3) = 0x1001dae4de0[p]:"bogus" . bassignmidstr (0x1001dae4de0:"bogus", 0x100302e8[c]:"bogus", 1, 3) = 0x1001dae4de0:"ogu" . bassignmidstr (0x1001dae4de0[p]:"bogus", 0x100302e8[c]:"bogus", -1, 4) = 0x1001dae4de0[p]:"bogus" . bassignmidstr (0x1001dae4de0:"bogus", 0x100302e8[c]:"bogus", -1, 4) = 0x1001dae4de0:"bog" . bassignmidstr (0x1001dae4de0[p]:"bogus", 0x100302e8[c]:"bogus", 1, 9) = 0x1001dae4de0[p]:"bogus" . bassignmidstr (0x1001dae4de0:"bogus", 0x100302e8[c]:"bogus", 1, 9) = 0x1001dae4de0:"ogus" . bassignmidstr (0x1001dae4de0[p]:"bogus", 0x100302e8[c]:"bogus", 9, 1) = 0x1001dae4de0[p]:"bogus" . bassignmidstr (0x1001dae4de0:"bogus", 0x100302e8[c]:"bogus", 9, 1) = 0x1001dae4de0:"" # failures: 0 TEST: int bmid2tbstr (struct tagbstring &t, const_bstring b1, int left, int len); . bmid2tbstr (NULL, 0, 1) = 0x1001dae4de0:"" . bmid2tbstr (0x100302d8[c]:"", 0, 1) = 0x1001dae4d80:"" . bmid2tbstr (NULL, 0, 1) = 0x1001dae4d80:"" . bmid2tbstr (0x100302d8[c]:"", 0, 1) = 0x1001dae4de0:"" . bmid2tbstr (0x100302d8[c]:"", 0, 1) = 0x1001dae4d80:"" . bmid2tbstr (0x10030308:[err:data=NULL], 0, 1) = 0x1001dae4d80:"" . bmid2tbstr (0x10030318:[err:slen=-5<0], 0, 1) = 0x1001dae4d80:"" . bmid2tbstr (0x100302d8[c]:"", 0, 1) = 0x1001dae4de0:"" . bmid2tbstr (0x100302e8[c]:"bogus", 1, 3) = 0x1001dae4d80:"ogu" . bmid2tbstr (0x100302d8[c]:"", 0, 1) = 0x1001dae4de0:"" . bmid2tbstr (0x100302e8[c]:"bogus", 1, 3) = 0x1001dae4d80:"ogu" . bmid2tbstr (0x100302e8[c]:"bogus", -1, 4) = 0x1001dae4de0:"bog" . bmid2tbstr (0x100302e8[c]:"bogus", 1, 9) = 0x1001dae4d80:"ogus" . bmid2tbstr (0x100302e8[c]:"bogus", 9, 1) = 0x1001dae4de0:"" # failures: 0 TEST: int btrunc (bstring b, int n); . btrunc (0x100302d8[c]:"", 10) = 0x1001dae4de0:"" . btrunc (0x100302d8[c]:"", 0) = 0x1001dae4de0:"" . btrunc (0x100302d8[c]:"", -1) = 0x1001dae4de0:"" . btrunc (0x100302e8[c]:"bogus", 10) = 0x1001dae4de0:"bogus" . btrunc (0x100302e8[c]:"bogus", 3) = 0x1001dae4de0:"bog" . btrunc (0x100302e8[c]:"bogus", 0) = 0x1001dae4de0:"" . btrunc (0x100302e8[c]:"bogus", -1) = 0x1001dae4de0:"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 = 0x1001dae4de0:"", NULL) = -1; b -> 0x1001dae4de0:"" . bassigncstr (b = 0x1001dae4de0:"", "") = 0; b -> 0x1001dae4de0:"" . bassigncstr (b = 0x1001dae4de0[p]:"xxxxx", "") = -1; b -> 0x1001dae4de0[p]:"xxxxx" . bassigncstr (a = 0x100302e8[c]:"bogus", "") = -1; a -> 0x100302e8[c]:"bogus" . bassigncstr (b = 0x1001dae4de0:"", "bogus") = 0; b -> 0x1001dae4de0:"bogus" . bassigncstr (b = 0x1001dae4de0[p]:"xxxxx", "bogus") = -1; b -> 0x1001dae4de0[p]:"xxxxx" . bassigncstr (a = 0x100302e8[c]:"bogus", "bogus") = -1; a -> 0x100302e8[c]:"bogus" . bassigncstr (b = 0x1001dae4de0:"", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0; b -> 0x1001dae4de0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bassigncstr (b = 0x1001dae4de0[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = -1; b -> 0x1001dae4de0[p]:"xxxxx" . bassigncstr (a = 0x100302e8[c]:"bogus", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = -1; a -> 0x100302e8[c]:"bogus" # failures: 0 TEST: int bassignblk (bstring a, const void * s, int len); . bassignblk (b = 0x1001dae4de0:"", NULL, 1) = -1; b -> 0x1001dae4de0:"" . bassignblk (b = 0x1001dae4de0:"", "", 0) = 0; b -> 0x1001dae4de0:"" . bassignblk (b = 0x1001dae4de0[p]:"xxxxx", "", 0) = -1; b -> 0x1001dae4de0[p]:"xxxxx" . bassignblk (a = 0x100302e8[c]:"bogus", "", 0) = -1; a -> 0x100302e8[c]:"bogus" . bassignblk (b = 0x1001dae4de0:"", "bogus", 5) = 0; b -> 0x1001dae4de0:"bogus" . bassignblk (b = 0x1001dae4de0[p]:"xxxxx", "bogus", 5) = -1; b -> 0x1001dae4de0[p]:"xxxxx" . bassignblk (a = 0x100302e8[c]:"bogus", "bogus", 5) = -1; a -> 0x100302e8[c]:"bogus" . bassignblk (b = 0x1001dae4de0:"", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = 0; b -> 0x1001dae4de0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bassignblk (b = 0x1001dae4de0[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = -1; b -> 0x1001dae4de0[p]:"xxxxx" . bassignblk (a = 0x100302e8[c]:"bogus", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = -1; a -> 0x100302e8[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 (0x100302e8[c]:"bogus", 8, "[%d]", ...) -> -1, 0x100302e8[c]:"bogus" (NULL) . bvcformata (0x10030308:[err:data=NULL], 8, "[%d]", ...) -> -1, 0x10030308:[err:data=NULL] (NULL) . bvcformata (0x10030318:[err:slen=-5<0], 8, "[%d]", ...) -> -1, 0x10030318:[err:slen=-5<0] (NULL) . bvcformata (0x10030328:[err:mlen=2 -1, 0x10030328:[err:mlen=2 0, 0x1001dae4de0:"bogus" (0x100302e8[c]:"bogus") . bvcformata (0x1001dae4de0:"bogus", 6, "%s", ...) -> 0, 0x1001dae4de0:"bogus" (0x100302e8[c]:"bogus") . bvcformata (0x1001dae4de0:"bogus", 4, "%s", ...) -> -8, 0x1001dae4de0:"" (NULL) TEST: bvformata (int &ret, bstring b, const char * fmt, lastarg); . bvformata (&, NULL, "[%d]", ...) -> -1, NULL (NULL) . bvformata (&, 0x100302e8[c]:"bogus", "[%d]", ...) -> -1, 0x100302e8[c]:"bogus" (NULL) . bvformata (&, 0x10030308:[err:data=NULL], "[%d]", ...) -> -1, 0x10030308:[err:data=NULL] (NULL) . bvformata (&, 0x10030318:[err:slen=-5<0], "[%d]", ...) -> -1, 0x10030318:[err:slen=-5<0] (NULL) . bvformata (&, 0x10030328:[err:mlen=2 -1, 0x10030328:[err:mlen=2 0, 0x1001dae4de0:"bogus" (0x100302e8[c]:"bogus") . bvformata (&, 0x1001dae4de0:"bogus", "%s", ...) -> 0, 0x1001dae4de0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") . bvformata (&, 0x1001dae4de0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", "%s%s%s%s%s%s%s%s", ...) -> 0, 0x1001dae4de0:"WaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterloo" (0x1001dae4d80:"WaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterloo") # failures: 0 TEST: int biseqblk (const_bstring b, const void * blk, int len); . biseqblk (NULL, NULL) = -1 . biseqblk (0x100302d8[c]:"", NULL) = -1 . biseqblk (NULL, cstr[0x1001a118] -> "") = -1 . biseqblk (0x100302e8[c]:"bogus", NULL) = -1 . biseqblk (NULL, cstr[0x1001a320] -> "bogus") = -1 . biseqblk (0x10030308:[err:data=NULL], NULL) = -1 . biseqblk (0x10030318:[err:slen=-5<0], cstr[0x1001a320] -> "bogus") = -1 . biseqblk (0x100302e8[c]:"bogus", cstr[0x1001a320] -> "bogus") = -1 . biseqblk (0x10030318:[err:slen=-5<0], cstr[0x1001a320] -> "bogus") = -1 . biseqblk (0x100302d8[c]:"", cstr[0x1001a118] -> "") = 1 . biseqblk (0x100302e8[c]:"bogus", cstr[0x1001a118] -> "") = 0 . biseqblk (0x100302d8[c]:"", cstr[0x1001a320] -> "bogus") = 0 . biseqblk (0x100302e8[c]:"bogus", cstr[0x1001a320] -> "bogus") = 1 . biseqblk (0x1001dae4de0:"bpgus", cstr[0x1001a320] -> "bogus") = 0 . biseqblk (0x100302e8[c]:"bogus", cstr[0x1001a328] -> "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0 . biseqblk (0x100302f8[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", cstr[0x1001a320] -> "bogus") = 0 # failures: 0 TEST: int biseqcaselessblk (const_bstring b, const void * blk, int len); . biseqcaselessblk (NULL, NULL, 0) = -1 . biseqcaselessblk (0x100302d8[c]:"", NULL, 0) = -1 . biseqcaselessblk (NULL, cstr[0x1001a118] -> "", 0) = -1 . biseqcaselessblk (0x100302d8[c]:"", NULL, 0) = -1 . biseqcaselessblk (0x10030308:[err:data=NULL], cstr[0x1001a118] -> "", 4) = -1 . biseqcaselessblk (0x100302e8[c]:"bogus", cstr[0x1001a320] -> "bogus", -5) = -1 . biseqcaselessblk (0x10030318:[err:slen=-5<0], cstr[0x1001a320] -> "bogus", -5) = -1 . biseqcaselessblk (0x100302d8[c]:"", cstr[0x1001a118] -> "", 0) = 1 . biseqcaselessblk (0x100302e8[c]:"bogus", cstr[0x1001c4f8] -> "bOgUs", 5) = 1 . biseqcaselessblk (0x100302e8[c]:"bogus", cstr[0x1001c510] -> "bOgUR", 5) = 0 . biseqcaselessblk (0x100302e8[c]:"bogus", cstr[0x1001c528] -> "bOgUt", 5) = 0 # test failures: 0 + gcc -c -Wall /builddir/build/BUILD/bstrlib-1.0.0/testaux.c + gcc -g -Wall -o testaux -L/builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/lib64 -lbstr testaux.o -I/builddir/build/BUILD/usr/include/bstrlib/ -Wl,-rpath=/builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/lib64 + ./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++ -c -Wall /builddir/build/BUILD/bstrlib-1.0.0/test.cpp + g++ -g -Wall -o cxxtest -L/builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/lib64 -lbstrc++ -lbstr test.o -I/builddir/build/BUILD/usr/include/bstrlib/ -Wl,-rpath=/builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/lib64 + ./cxxtest 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-1.fc27.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RaNnrr Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gC94nj + cd .. + rm -rf test + exit 0 + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/doc/bstrlib + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/doc/bstrlib + cp -pr README.md /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/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-1.fc27.ppc64le/usr/share/licenses/bstrlib + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/licenses/bstrlib + cp -pr LICENSE /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/licenses/bstrlib + cp -pr gpl.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/licenses/bstrlib + exit 0 Provides: bstrlib = 1.0.0-1.fc27 bstrlib(ppc-64) = 1.0.0-1.fc27 libbstr.so.1.0.0()(64bit) libbstrc++.so.1.0.0()(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.0.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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-1.fc27.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FFxcmb + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/doc/bstrlib-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/doc/bstrlib-devel + cp -pr porting.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/doc/bstrlib-devel + cp -pr bstrlib.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/doc/bstrlib-devel + exit 0 Provides: bstrlib-devel = 1.0.0-1.fc27 bstrlib-devel(ppc-64) = 1.0.0-1.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbstr.so.1.0.0()(64bit) libbstrc++.so.1.0.0()(64bit) Processing files: bstrlib-safe-1.0.0-1.fc27.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WnlQl3 + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/doc/bstrlib-safe + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/doc/bstrlib-safe + cp -pr security.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le/usr/share/doc/bstrlib-safe + exit 0 Provides: bstrlib-safe = 1.0.0-1.fc27 bstrlib-safe(ppc-64) = 1.0.0-1.fc27 libbstrsafe.so.1.0.0()(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: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: bstrlib-safe-devel-1.0.0-1.fc27.ppc64le Provides: bstrlib-safe-devel = 1.0.0-1.fc27 bstrlib-safe-devel(ppc-64) = 1.0.0-1.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbstrsafe.so.1.0.0()(64bit) Processing files: bstrlib-debugsource-1.0.0-1.fc27.ppc64le Provides: bstrlib-debugsource = 1.0.0-1.fc27 bstrlib-debugsource(ppc-64) = 1.0.0-1.fc27 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-1.fc27.ppc64le Provides: bstrlib-debuginfo = 1.0.0-1.fc27 bstrlib-debuginfo(ppc-64) = 1.0.0-1.fc27 debuginfo(build-id) = b98764218b89ae814ee80c6499cc809acb255dc0 debuginfo(build-id) = fe9776833d7133db9c314239d205ac5ca9501baa Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bstrlib-safe-debuginfo-1.0.0-1.fc27.ppc64le Provides: bstrlib-safe-debuginfo = 1.0.0-1.fc27 bstrlib-safe-debuginfo(ppc-64) = 1.0.0-1.fc27 debuginfo(build-id) = d2c3b2b9e5977f41f3a6e21147985b1013273456 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le Wrote: /builddir/build/RPMS/bstrlib-1.0.0-1.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/bstrlib-devel-1.0.0-1.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/bstrlib-safe-1.0.0-1.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/bstrlib-safe-devel-1.0.0-1.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/bstrlib-debugsource-1.0.0-1.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/bstrlib-debuginfo-1.0.0-1.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/bstrlib-safe-debuginfo-1.0.0-1.fc27.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0KEWrV + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bstrlib-1.0.0-1.fc27.ppc64le + exit 0 Finish: rpmbuild bstrlib-1.0.0-1.fc27.src.rpm Finish: build phase for bstrlib-1.0.0-1.fc27.src.rpm INFO: Done(intermediate-srpm/bstrlib-1.0.0-1.fc27.src.rpm) Config(child) 0 minutes 33 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run