Warning: Permanently added '172.25.94.31' (ECDSA) to the list of known hosts. Munch({'cmd': ['git', 'clone', 'http://copr-dist-git.fedorainfracloud.org/git/yecheng/bstrlib/bstrlib.git', '/tmp/tmpinme1i6v/repo'], 'stdout': '', 'stderr': "Cloning into '/tmp/tmpinme1i6v/repo'...", 'returncode': 0}) Munch({'cmd': ['git', 'clone', 'http://copr-dist-git.fedorainfracloud.org/git/yecheng/bstrlib/bstrlib.git', '/tmp/tmpinme1i6v/repo'], 'stdout': '', 'stderr': "Cloning into '/tmp/tmpinme1i6v/repo'...", 'returncode': 0}) [rpkg] lookaside = http://copr-dist-git.fedorainfracloud.org/repo/pkgs lookasidehash = sha512 lookaside_cgi = http://copr-dist-git.fedorainfracloud.org/repo/pkgs/upload.cgi gitbaseurl = ssh://%(user)s@copr-dist-git.fedorainfracloud.org/%(module)s anongiturl = git://copr-dist-git.fedorainfracloud.org/%(module)s tracbaseurl = https://%(user)s:%(password)s@fedorahosted.org/rel-eng/login/xmlrpc branchre = f\d$|f\d\d$|el\d$|olpc\d$|master$ kojiconfig = /etc/koji.conf build_client = koji clone_config = bz.default-tracker bugzilla.redhat.com bz.default-product Fedora bz.default-version rawhide bz.default-component %(module)s sendemail.to %(module)s-owner@fedoraproject.org push.default simple distgit_namespaced = True Munch({'cmd': ['git', 'reset', '--hard', '97251e14b712c9c75b3fd687c91271a91a6bc8ba'], 'stdout': 'HEAD is now at 97251e1 automatic import of bstrlib 1.0.0-2.fc26', 'stderr': '', 'returncode': 0}) Munch({'cmd': ['rpkg', '--config', '/tmp/tmpinme1i6v/rpkg.conf', '--module-name', 'yecheng/bstrlib/bstrlib', 'sources'], 'stdout': 'Downloading v1.0.0.tar.gz', 'stderr': '', 'returncode': 0}) Munch({'cmd': ['rpkg', '--config', '/tmp/tmpinme1i6v/rpkg.conf', '--module-name', 'yecheng/bstrlib/bstrlib', 'sources'], 'stdout': 'Downloading v1.0.0.tar.gz', 'stderr': '', 'returncode': 0}) {'task_id': '610322-fedora-rawhide-ppc64le', 'chroot': 'fedora-rawhide-ppc64le', 'buildroot_pkgs': [], 'enable_net': False, 'repos': [{'id': 'copr_base', 'name': 'Copr repository', 'url': 'https://copr-be.cloud.fedoraproject.org/results/yecheng/bstrlib/fedora-rawhide-ppc64le/'}], 'use_bootstrap_container': False, 'pkg_manager_conf': 'yum', 'timeout': 64800, 'resultdir': '/var/lib/copr-rpmbuild/results', 'confdirs': ['/usr/bin', '/etc/copr-rpmbuild'], 'logfile': '/var/lib/copr-rpmbuild/main.log', 'sourcedir': '/tmp/tmpinme1i6v/repo'} /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated unbuffer /usr/bin/mock --buildsrpm --spec /tmp/tmpinme1i6v/repo/bstrlib.spec --sources /tmp/tmpinme1i6v/repo --configdir /var/lib/copr-rpmbuild/results/configs --resultdir /var/lib/copr-rpmbuild/results --define %_disable_source_fetch 0 -r child WARNING: Could not find required logging config file: /var/lib/copr-rpmbuild/results/configs/logging.ini. Using default... INFO: mock.py version 1.4.4 starting (python version = 3.6.2)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: compress_logs: initialized Finish: init plugins Start: run INFO: Start(/tmp/tmpinme1i6v/repo/bstrlib.spec) Config(610322-fedora-rawhide-ppc64le) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/610322-fedora-rawhide-ppc64le/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled HW Info plugin Mock Version: 1.4.4 INFO: Mock Version: 1.4.4 Start: dnf install Last metadata expiration check: 0:00:00 ago on Mon 02 Oct 2017 12:48:15 AM UTC. Dependencies resolved. ================================================================================ Group Packages ================================================================================ Marking packages as installed by the group: @Buildsystem building group diffutils bash patch shadow-utils gcc-c++ tar util-linux grep rpm-build redhat-rpm-config findutils which unzip gcc xz gzip make sed info gawk coreutils fedora-release bzip2 cpio ================================================================================ Package Arch Version Repository Size ================================================================================ Installing group packages: bash ppc64le 4.4.12-11.fc28 fedora 1.6 M bzip2 ppc64le 1.0.6-24.fc27 fedora 60 k coreutils ppc64le 8.28-1.fc28 fedora 1.3 M cpio ppc64le 2.12-6.fc27 fedora 268 k diffutils ppc64le 3.6-3.fc27 fedora 365 k fedora-release noarch 28-0.1 fedora 25 k findutils ppc64le 1:4.6.0-14.fc27 fedora 541 k gawk ppc64le 4.1.4-7.fc28 fedora 1.1 M gcc ppc64le 7.2.1-1.fc28 fedora 19 M gcc-c++ ppc64le 7.2.1-1.fc28 fedora 12 M grep ppc64le 3.1-3.fc27 fedora 281 k gzip ppc64le 1.8-4.fc27 fedora 164 k info ppc64le 6.5-1.fc28 fedora 213 k make ppc64le 1:4.2.1-4.fc27 fedora 504 k patch ppc64le 2.7.5-6.fc27 fedora 134 k redhat-rpm-config noarch 67-1.fc27 fedora 61 k rpm-build ppc64le 4.14.0-0.rc2.3.fc28 fedora 162 k sed ppc64le 4.4-3.fc27 fedora 294 k shadow-utils ppc64le 2:4.5-5.fc28 fedora 1.2 M tar ppc64le 2:1.29-7.fc27 fedora 840 k unzip ppc64le 6.0-36.fc27 fedora 195 k util-linux ppc64le 2.31-0.2.fc28 fedora 2.5 M which ppc64le 2.21-4.fc27 fedora 48 k xz ppc64le 5.2.3-5.fc28 fedora 157 k Installing dependencies: audit-libs ppc64le 2.7.8-1.fc28 fedora 124 k basesystem noarch 11-4.fc27 fedora 8.9 k binutils ppc64le 2.29.1-2.fc28 fedora 6.4 M bzip2-libs ppc64le 1.0.6-24.fc27 fedora 51 k ca-certificates noarch 2017.2.16-4.fc27 fedora 452 k chkconfig ppc64le 1.10-3.fc27 fedora 193 k compat-openssl10 ppc64le 1:1.0.2j-9.fc28 fedora 1.0 M coreutils-common ppc64le 8.28-1.fc28 fedora 1.9 M cpp ppc64le 7.2.1-1.fc28 fedora 9.8 M cracklib ppc64le 2.9.6-9.fc28 fedora 89 k crypto-policies noarch 20170823-1.git8d18c27.fc28 fedora 37 k curl ppc64le 7.55.1-5.fc28 fedora 314 k cyrus-sasl-lib ppc64le 2.1.26-34.fc27 fedora 174 k dwz ppc64le 0.12-5.fc27 fedora 112 k elfutils ppc64le 0.170-1.fc27 fedora 324 k elfutils-default-yama-scope noarch 0.170-1.fc27 fedora 39 k elfutils-libelf ppc64le 0.170-1.fc27 fedora 210 k elfutils-libs ppc64le 0.170-1.fc27 fedora 316 k expat ppc64le 2.2.4-1.fc28 fedora 107 k fedora-gpg-keys noarch 28-0.3 fedora 93 k fedora-repos noarch 28-0.3 fedora 8.1 k fedora-repos-rawhide noarch 28-0.3 fedora 7.7 k fedora-rpm-macros noarch 26-3.fc27 fedora 6.7 k file ppc64le 5.32-1.fc28 fedora 73 k file-libs ppc64le 5.32-1.fc28 fedora 523 k filesystem ppc64le 3.3-3.fc27 fedora 1.1 M fpc-srpm-macros noarch 1.1-3.fc27 fedora 7.1 k gc ppc64le 7.6.0-7.fc27 fedora 117 k gdb-headless ppc64le 8.0.1-28.fc28 fedora 3.3 M gdbm ppc64le 1.13-3.fc27 fedora 167 k ghc-srpm-macros noarch 1.4.2-6.fc27 fedora 7.9 k glib2 ppc64le 2.54.0-1.fc28 fedora 2.5 M glibc ppc64le 2.26.90-16.fc28 fedora 3.5 M glibc-all-langpacks ppc64le 2.26.90-16.fc28 fedora 7.7 M glibc-common ppc64le 2.26.90-16.fc28 fedora 833 k glibc-devel ppc64le 2.26.90-16.fc28 fedora 1.0 M glibc-headers ppc64le 2.26.90-16.fc28 fedora 527 k gmp ppc64le 1:6.1.2-6.fc27 fedora 290 k gnat-srpm-macros noarch 4-4.fc27 fedora 8.4 k gnupg2 ppc64le 2.2.0-1.fc28 fedora 2.4 M gnutls ppc64le 3.6.0-1.fc28 fedora 724 k go-srpm-macros noarch 2-10.fc27 fedora 8.0 k guile ppc64le 5:2.0.14-3.fc27 fedora 3.5 M ima-evm-utils ppc64le 1.0-1.fc28 fedora 51 k isl ppc64le 0.16.1-4.fc28 fedora 1.1 M kernel-headers ppc64le 4.14.0-0.rc2.git4.1.fc28 fedora 1.2 M keyutils-libs ppc64le 1.5.10-3.fc27 fedora 33 k krb5-libs ppc64le 1.15.2-2.fc28 fedora 887 k libacl ppc64le 2.2.52-18.fc27 fedora 35 k libarchive ppc64le 3.3.1-3.fc27 fedora 414 k libasan ppc64le 7.2.1-1.fc28 fedora 405 k libassuan ppc64le 2.4.3-6.fc27 fedora 80 k libatomic ppc64le 7.2.1-1.fc28 fedora 36 k libatomic_ops ppc64le 7.4.6-3.fc27 fedora 34 k libattr ppc64le 2.4.47-21.fc27 fedora 25 k libbabeltrace ppc64le 1.5.3-1.fc27 fedora 218 k libblkid ppc64le 2.31-0.2.fc28 fedora 226 k libcap ppc64le 2.25-7.fc27 fedora 57 k libcap-ng ppc64le 0.7.8-7.fc28 fedora 32 k libcom_err ppc64le 1.43.6-1.fc28 fedora 46 k libcrypt-nss ppc64le 2.26.90-16.fc28 fedora 69 k libcurl ppc64le 7.55.1-5.fc28 fedora 292 k libdb ppc64le 5.3.28-27.fc28 fedora 800 k libdb-utils ppc64le 5.3.28-27.fc28 fedora 156 k libfdisk ppc64le 2.31-0.2.fc28 fedora 273 k libffi ppc64le 3.1-14.fc27 fedora 36 k libgcc ppc64le 7.2.1-1.fc28 fedora 81 k libgcrypt ppc64le 1.8.1-1.fc28 fedora 432 k libgomp ppc64le 7.2.1-1.fc28 fedora 203 k libgpg-error ppc64le 1.27-3.fc27 fedora 189 k libidn2 ppc64le 2.0.4-1.fc28 fedora 101 k libksba ppc64le 1.3.5-5.fc27 fedora 146 k libmetalink ppc64le 0.1.3-4.fc27 fedora 34 k libmount ppc64le 2.31-0.2.fc28 fedora 250 k libmpc ppc64le 1.0.2-8.fc27 fedora 61 k libnghttp2 ppc64le 1.26.0-1.fc28 fedora 80 k libpkgconf ppc64le 1.3.9-1.fc28 fedora 35 k libpsl ppc64le 0.18.0-1.fc27 fedora 52 k libpwquality ppc64le 1.4.0-3.fc27 fedora 103 k libselinux ppc64le 2.7-4.fc28 fedora 190 k libsemanage ppc64le 2.7-3.fc28 fedora 167 k libsepol ppc64le 2.7-1.fc27 fedora 363 k libsigsegv ppc64le 2.11-3.fc27 fedora 29 k libsmartcols ppc64le 2.31-0.2.fc28 fedora 179 k libssh2 ppc64le 1.8.0-5.fc28 fedora 106 k libstdc++ ppc64le 7.2.1-1.fc28 fedora 514 k libstdc++-devel ppc64le 7.2.1-1.fc28 fedora 1.9 M libtasn1 ppc64le 4.12-3.fc27 fedora 80 k libtool-ltdl ppc64le 2.4.6-20.fc27 fedora 60 k libubsan ppc64le 7.2.1-1.fc28 fedora 166 k libunistring ppc64le 0.9.7-3.fc27 fedora 411 k libusbx ppc64le 1.0.21-4.fc27 fedora 72 k libutempter ppc64le 1.1.6-11.fc27 fedora 30 k libuuid ppc64le 2.31-0.2.fc28 fedora 90 k libverto ppc64le 0.3.0-1.fc28 fedora 23 k libxml2 ppc64le 2.9.5-2.fc28 fedora 755 k lua-libs ppc64le 5.3.4-5.fc27 fedora 128 k lz4-libs ppc64le 1.8.0-1.fc28 fedora 56 k mpfr ppc64le 3.1.5-5.fc27 fedora 231 k ncurses ppc64le 6.0-14.20170916.fc28 fedora 383 k ncurses-base noarch 6.0-14.20170916.fc28 fedora 78 k ncurses-libs ppc64le 6.0-14.20170916.fc28 fedora 361 k nettle ppc64le 3.3-5.fc27 fedora 312 k npth ppc64le 1.5-3.fc27 fedora 25 k nspr ppc64le 4.17.0-1.fc28 fedora 151 k nss ppc64le 3.32.1-2.fc28 fedora 718 k nss-pem ppc64le 1.0.3-5.fc27 fedora 81 k nss-softokn ppc64le 3.32.0-8.fc28 fedora 414 k nss-softokn-freebl ppc64le 3.32.0-8.fc28 fedora 230 k nss-sysinit ppc64le 3.32.1-2.fc28 fedora 63 k nss-util ppc64le 3.32.0-2.fc27 fedora 96 k ocaml-srpm-macros noarch 5-2.fc27 fedora 7.8 k openblas-srpm-macros noarch 2-2.fc27 fedora 6.6 k openldap ppc64le 2.4.45-3.fc27 fedora 387 k openssl-libs ppc64le 1:1.1.0f-9.fc27 fedora 1.1 M p11-kit ppc64le 0.23.8-2.fc28 fedora 267 k p11-kit-trust ppc64le 0.23.8-2.fc28 fedora 145 k pam ppc64le 1.3.0-6.fc28 fedora 805 k pcre ppc64le 8.41-1.fc27.2 fedora 204 k pcre2 ppc64le 10.30-1.fc27 fedora 227 k perl-srpm-macros noarch 1-24.fc27 fedora 9.3 k pkgconf ppc64le 1.3.9-1.fc28 fedora 32 k pkgconf-m4 noarch 1.3.9-1.fc28 fedora 13 k pkgconf-pkg-config ppc64le 1.3.9-1.fc28 fedora 13 k popt ppc64le 1.16-11.fc27 fedora 63 k publicsuffix-list-dafsa noarch 20170828-1.fc28 fedora 45 k python-srpm-macros noarch 3-22.fc27 fedora 9.6 k python3 ppc64le 3.6.2-17.fc28 fedora 67 k python3-libs ppc64le 3.6.2-17.fc28 fedora 8.0 M python3-pip noarch 9.0.1-11.fc27 fedora 1.7 M python3-setuptools noarch 36.2.0-7.fc28 fedora 596 k qt5-srpm-macros noarch 5.9.1-2.fc27 fedora 8.5 k readline ppc64le 7.0-7.fc27 fedora 231 k rpm ppc64le 4.14.0-0.rc2.3.fc28 fedora 531 k rpm-build-libs ppc64le 4.14.0-0.rc2.3.fc28 fedora 153 k rpm-libs ppc64le 4.14.0-0.rc2.3.fc28 fedora 361 k rpm-plugin-selinux ppc64le 4.14.0-0.rc2.3.fc28 fedora 66 k rust-srpm-macros noarch 4-3.fc27 fedora 7.7 k setup noarch 2.10.10-1.fc28 fedora 176 k sqlite-libs ppc64le 3.20.1-1.fc28 fedora 585 k systemd-libs ppc64le 234-8.fc28 fedora 498 k tzdata noarch 2017b-2.fc27 fedora 422 k xz-libs ppc64le 5.2.3-5.fc28 fedora 117 k zip ppc64le 3.0-20.fc27 fedora 275 k zlib ppc64le 1.2.11-4.fc27 fedora 104 k Transaction Summary ================================================================================ Install 145 Packages Total download size: 126 M Installed size: 529 M Downloading Packages: -------------------------------------------------------------------------------- Total 15 MB/s | 126 MB 00:08 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction warning: /etc/hosts created as /etc/hosts.rpmnew Installed: audit-libs.ppc64le 2.7.8-1.fc28 basesystem.noarch 11-4.fc27 binutils.ppc64le 2.29.1-2.fc28 bzip2-libs.ppc64le 1.0.6-24.fc27 ca-certificates.noarch 2017.2.16-4.fc27 chkconfig.ppc64le 1.10-3.fc27 compat-openssl10.ppc64le 1:1.0.2j-9.fc28 coreutils-common.ppc64le 8.28-1.fc28 cpp.ppc64le 7.2.1-1.fc28 cracklib.ppc64le 2.9.6-9.fc28 crypto-policies.noarch 20170823-1.git8d18c27.fc28 curl.ppc64le 7.55.1-5.fc28 cyrus-sasl-lib.ppc64le 2.1.26-34.fc27 dwz.ppc64le 0.12-5.fc27 elfutils.ppc64le 0.170-1.fc27 elfutils-default-yama-scope.noarch 0.170-1.fc27 elfutils-libelf.ppc64le 0.170-1.fc27 elfutils-libs.ppc64le 0.170-1.fc27 expat.ppc64le 2.2.4-1.fc28 fedora-gpg-keys.noarch 28-0.3 fedora-repos.noarch 28-0.3 fedora-repos-rawhide.noarch 28-0.3 fedora-rpm-macros.noarch 26-3.fc27 file.ppc64le 5.32-1.fc28 file-libs.ppc64le 5.32-1.fc28 filesystem.ppc64le 3.3-3.fc27 fpc-srpm-macros.noarch 1.1-3.fc27 gc.ppc64le 7.6.0-7.fc27 gdb-headless.ppc64le 8.0.1-28.fc28 gdbm.ppc64le 1.13-3.fc27 ghc-srpm-macros.noarch 1.4.2-6.fc27 glib2.ppc64le 2.54.0-1.fc28 glibc.ppc64le 2.26.90-16.fc28 glibc-all-langpacks.ppc64le 2.26.90-16.fc28 glibc-common.ppc64le 2.26.90-16.fc28 glibc-devel.ppc64le 2.26.90-16.fc28 glibc-headers.ppc64le 2.26.90-16.fc28 gmp.ppc64le 1:6.1.2-6.fc27 gnat-srpm-macros.noarch 4-4.fc27 gnupg2.ppc64le 2.2.0-1.fc28 gnutls.ppc64le 3.6.0-1.fc28 go-srpm-macros.noarch 2-10.fc27 guile.ppc64le 5:2.0.14-3.fc27 ima-evm-utils.ppc64le 1.0-1.fc28 isl.ppc64le 0.16.1-4.fc28 kernel-headers.ppc64le 4.14.0-0.rc2.git4.1.fc28 keyutils-libs.ppc64le 1.5.10-3.fc27 krb5-libs.ppc64le 1.15.2-2.fc28 libacl.ppc64le 2.2.52-18.fc27 libarchive.ppc64le 3.3.1-3.fc27 libasan.ppc64le 7.2.1-1.fc28 libassuan.ppc64le 2.4.3-6.fc27 libatomic.ppc64le 7.2.1-1.fc28 libatomic_ops.ppc64le 7.4.6-3.fc27 libattr.ppc64le 2.4.47-21.fc27 libbabeltrace.ppc64le 1.5.3-1.fc27 libblkid.ppc64le 2.31-0.2.fc28 libcap.ppc64le 2.25-7.fc27 libcap-ng.ppc64le 0.7.8-7.fc28 libcom_err.ppc64le 1.43.6-1.fc28 libcrypt-nss.ppc64le 2.26.90-16.fc28 libcurl.ppc64le 7.55.1-5.fc28 libdb.ppc64le 5.3.28-27.fc28 libdb-utils.ppc64le 5.3.28-27.fc28 libfdisk.ppc64le 2.31-0.2.fc28 libffi.ppc64le 3.1-14.fc27 libgcc.ppc64le 7.2.1-1.fc28 libgcrypt.ppc64le 1.8.1-1.fc28 libgomp.ppc64le 7.2.1-1.fc28 libgpg-error.ppc64le 1.27-3.fc27 libidn2.ppc64le 2.0.4-1.fc28 libksba.ppc64le 1.3.5-5.fc27 libmetalink.ppc64le 0.1.3-4.fc27 libmount.ppc64le 2.31-0.2.fc28 libmpc.ppc64le 1.0.2-8.fc27 libnghttp2.ppc64le 1.26.0-1.fc28 libpkgconf.ppc64le 1.3.9-1.fc28 libpsl.ppc64le 0.18.0-1.fc27 libpwquality.ppc64le 1.4.0-3.fc27 libselinux.ppc64le 2.7-4.fc28 libsemanage.ppc64le 2.7-3.fc28 libsepol.ppc64le 2.7-1.fc27 libsigsegv.ppc64le 2.11-3.fc27 libsmartcols.ppc64le 2.31-0.2.fc28 libssh2.ppc64le 1.8.0-5.fc28 libstdc++.ppc64le 7.2.1-1.fc28 libstdc++-devel.ppc64le 7.2.1-1.fc28 libtasn1.ppc64le 4.12-3.fc27 libtool-ltdl.ppc64le 2.4.6-20.fc27 libubsan.ppc64le 7.2.1-1.fc28 libunistring.ppc64le 0.9.7-3.fc27 libusbx.ppc64le 1.0.21-4.fc27 libutempter.ppc64le 1.1.6-11.fc27 libuuid.ppc64le 2.31-0.2.fc28 libverto.ppc64le 0.3.0-1.fc28 libxml2.ppc64le 2.9.5-2.fc28 lua-libs.ppc64le 5.3.4-5.fc27 lz4-libs.ppc64le 1.8.0-1.fc28 mpfr.ppc64le 3.1.5-5.fc27 ncurses.ppc64le 6.0-14.20170916.fc28 ncurses-base.noarch 6.0-14.20170916.fc28 ncurses-libs.ppc64le 6.0-14.20170916.fc28 nettle.ppc64le 3.3-5.fc27 npth.ppc64le 1.5-3.fc27 nspr.ppc64le 4.17.0-1.fc28 nss.ppc64le 3.32.1-2.fc28 nss-pem.ppc64le 1.0.3-5.fc27 nss-softokn.ppc64le 3.32.0-8.fc28 nss-softokn-freebl.ppc64le 3.32.0-8.fc28 nss-sysinit.ppc64le 3.32.1-2.fc28 nss-util.ppc64le 3.32.0-2.fc27 ocaml-srpm-macros.noarch 5-2.fc27 openblas-srpm-macros.noarch 2-2.fc27 openldap.ppc64le 2.4.45-3.fc27 openssl-libs.ppc64le 1:1.1.0f-9.fc27 p11-kit.ppc64le 0.23.8-2.fc28 p11-kit-trust.ppc64le 0.23.8-2.fc28 pam.ppc64le 1.3.0-6.fc28 pcre.ppc64le 8.41-1.fc27.2 pcre2.ppc64le 10.30-1.fc27 perl-srpm-macros.noarch 1-24.fc27 pkgconf.ppc64le 1.3.9-1.fc28 pkgconf-m4.noarch 1.3.9-1.fc28 pkgconf-pkg-config.ppc64le 1.3.9-1.fc28 popt.ppc64le 1.16-11.fc27 publicsuffix-list-dafsa.noarch 20170828-1.fc28 python-srpm-macros.noarch 3-22.fc27 python3.ppc64le 3.6.2-17.fc28 python3-libs.ppc64le 3.6.2-17.fc28 python3-pip.noarch 9.0.1-11.fc27 python3-setuptools.noarch 36.2.0-7.fc28 qt5-srpm-macros.noarch 5.9.1-2.fc27 readline.ppc64le 7.0-7.fc27 rpm.ppc64le 4.14.0-0.rc2.3.fc28 rpm-build-libs.ppc64le 4.14.0-0.rc2.3.fc28 rpm-libs.ppc64le 4.14.0-0.rc2.3.fc28 rpm-plugin-selinux.ppc64le 4.14.0-0.rc2.3.fc28 rust-srpm-macros.noarch 4-3.fc27 setup.noarch 2.10.10-1.fc28 sqlite-libs.ppc64le 3.20.1-1.fc28 systemd-libs.ppc64le 234-8.fc28 tzdata.noarch 2017b-2.fc27 xz-libs.ppc64le 5.2.3-5.fc28 zip.ppc64le 3.0-20.fc27 zlib.ppc64le 1.2.11-4.fc27 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-2.fc28.src.rpm Finish: rpmbuild -bs Finish: buildsrpm INFO: Done(/tmp/tmpinme1i6v/repo/bstrlib.spec) Config(child) 1 minutes 17 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 unbuffer /usr/bin/mock --rebuild /var/lib/copr-rpmbuild/results/bstrlib-1.0.0-2.fc28.src.rpm --configdir /var/lib/copr-rpmbuild/results/configs --resultdir /var/lib/copr-rpmbuild/results -r child WARNING: Could not find required logging config file: /var/lib/copr-rpmbuild/results/configs/logging.ini. Using default... INFO: mock.py version 1.4.4 starting (python version = 3.6.2)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: compress_logs: initialized Finish: init plugins Start: run INFO: Start(/var/lib/copr-rpmbuild/results/bstrlib-1.0.0-2.fc28.src.rpm) Config(610322-fedora-rawhide-ppc64le) Start: clean chroot Finish: clean chroot Start: chroot init INFO: mounting tmpfs at /var/lib/mock/610322-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.4 INFO: Mock Version: 1.4.4 Start: dnf update Last metadata expiration check: 0:00:00 ago on Mon 02 Oct 2017 12:49:36 AM UTC. Dependencies resolved. Nothing to do. Complete! Finish: dnf update Finish: chroot init Start: build phase for bstrlib-1.0.0-2.fc28.src.rpm Start: build setup for bstrlib-1.0.0-2.fc28.src.rpm Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/bstrlib-1.0.0-2.fc28.src.rpm Last metadata expiration check: 0:00:00 ago on Mon 02 Oct 2017 12:50:02 AM UTC. Package gcc-c++-7.2.1-1.fc28.ppc64le is already installed, skipping. Dependencies resolved. Nothing to do. Complete! Finish: build setup for bstrlib-1.0.0-2.fc28.src.rpm Start: rpmbuild bstrlib-1.0.0-2.fc28.src.rpm Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KoCKHH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bstrlib-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bstrlib-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/Makefile ./Makefile + sed -i 's|@VER@|1.0.0|g' Makefile + sed -i 's|@BUILDLIBDIR@|/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64|g' Makefile + sed -i 's|@MAJORVER@|1|g' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kMvGuu + 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' all gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -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 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. -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libbstr.so.1.0.0 bstrlib.o bstraux.o utf8util.o buniutil.o ln -sf libbstr.so.1.0.0 libbstr.so #will be linked to Bstrlib-c++ and Bstrlib-safe gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fPIC -I. -shared -Wl,-soname=libbstrsafe.so.1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libbstrsafe.so.1.0.0 bsafe.o g++ -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fPIC -I. -nodefaultlibs -shared -Wl,-soname=libbstrc++.so.1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libbstrc++.so.1.0.0 -L. bstrwrap.o -lstdc++ -lgcc -lc -lbstr #avoid rpmlint from complaining about unused direct shared library dependency on libm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dhY1Di + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le ++ dirname /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le + cd bstrlib-1.0.0 + mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.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-2.fc28.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-2.fc28.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-2.fc28.ppc64le/usr/lib64/libbstrc++.so.1.0.0 + mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.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-2.fc28.ppc64le/usr/include/bstrlib/ + ldconfig -n /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64 -v /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64: libbstr.so.1 -> libbstr.so.1.0.0 (changed) libbstrsafe.so.1 -> libbstrsafe.so.1.0.0 (changed) libbstrc++.so.1 -> libbstrc++.so.1.0.0 (changed) + cd /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64 + ln -sf libbstr.so.1.0.0 libbstr.so + ln -sf libbstrsafe.so.1.0.0 libbstrsafe.so + ln -sf libbstrc++.so.1.0.0 libbstrc++.so + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.0.0-2.fc28 --unique-debug-suffix -1.0.0-2.fc28.ppc64le --unique-debug-src-base bstrlib-1.0.0-2.fc28.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-2.fc28.ppc64le/usr/lib64/libbstrc++.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64/libbstrsafe.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.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.vbk426 + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + make LIBDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64 INCLUDEDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/include/bstrlib/ 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' check gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fPIC -I. -c -o bstest.o bstest.c bstest.c: In function 'test0_2': bstest.c:181:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'unsigned char *' [-Wformat=] printf ("[%d] \"%s\" != \"%s\"\n", b->data, t); ~^ ~~~~~~~ %hhn bstest.c:181:33: warning: format '%s' expects a matching 'char *' argument [-Wformat=] printf ("[%d] \"%s\" != \"%s\"\n", b->data, t); ~^ bstest.c: In function 'test47_0': bstest.c:635:71: warning: pointer targets in passing argument 1 of 'dumpCstring' differ in signedness [-Wpointer-sign] printf (".\tbiseqblk (%s, %s) = %d\n", dumpBstring (b), dumpCstring (blk), rv); ^~~ bstest.c:75:14: note: expected 'const char *' but argument is of type 'const unsigned char *' static char* dumpCstring (const char* s) { ^~~~~~~~~~~ bstest.c: In function 'test15_0': bstest.c:1072:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!biseq (b0, b2)) ret++; if (ret && 0 == linenum) linenum = __LINE__; ^~ bstest.c:1072:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!biseq (b0, b2)) ret++; if (ret && 0 == linenum) linenum = __LINE__; ^~ bstest.c: In function 'test48_0': bstest.c:3040:83: warning: pointer targets in passing argument 1 of 'dumpCstring' differ in signedness [-Wpointer-sign] printf (".\tbiseqcaselessblk (%s, %s, %d) = %d\n", dumpBstring (b), dumpCstring (blk), len, rv); ^~~ bstest.c:75:14: note: expected 'const char *' but argument is of type 'const unsigned char *' static char* dumpCstring (const char* s) { ^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -Wall -o bstest -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64 -lbstr bstest.o -I/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/include/bstrlib/ LD_PRELOAD=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64/libbstr.so.1.0.0 ./bstest Direct case testing of bstring core functions TEST: bstring bfromcstr (const char * str); . bfromcstr (NULL) = NULL . bfromcstr ("") = 0x1000fca22b0:"" . bfromcstr ("bogus") = 0x1000fca22b0:"bogus" . bfromcstr ("This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1000fca22b0:"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, "") = 0x1000fca2510:"" . bfromcstralloc (30, "") = 0x1000fca2510:"" . bfromcstralloc (0, "bogus") = 0x1000fca2510:"bogus" . bfromcstralloc (30, "bogus") = 0x1000fca2510:"bogus" . bfromcstralloc (0, "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1000fca2510:"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.") = 0x1000fca2510:"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[0x52d746b8] -> "") correct . bfromcstrrangealloc (*,*,cstr[0x52d74ad0] -> "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=0x52d74570, len=5) = 0x1000fca2d50:"bogus" . blk2bstr (blk=0x52d74ad0, len=86) = 0x1000fca2d50:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . blk2bstr (blk=0x52d74ad0, len=5) = 0x1000fca2d50:"This " . blk2bstr (blk=0x52d74ad0, len=0) = 0x1000fca2d50:"" . blk2bstr (NULL, len=-1) = NULL # failures: 0 TEST: char * bstr2cstr (const_bstring s, char z); . bstr2cstr (NULL, 3F) = NULL . bstr2cstr (0x52d902c0[c]:"", 3F) = "" . bstr2cstr (0x52d902b0[c]:"bogus", 3F) = "bogus" . bstr2cstr (0x52d902a0[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 (0x52d90200:[err:data=NULL], 3F) = NULL . bstr2cstr (0x52d90290:[err:slen=-5<0], 3F) = NULL # failures: 0 TEST: bstring bstrcpy (const_bstring b1); . bstrcpy (NULL) = NULL . bstrcpy (0x52d90200:[err:data=NULL]) = NULL . bstrcpy (0x52d90290:[err:slen=-5<0]) = NULL . bstrcpy (0x52d902c0[c]:"") = 0x1000fca2d30:"" . bstrcpy (0x52d902b0[c]:"bogus") = 0x1000fca2d30:"bogus" . bstrcpy (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1000fca2d30:"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 (0x52d90200:[err:data=NULL], 1, 3) = NULL . bmidstr (0x52d90290:[err:slen=-5<0], 1, 3) = NULL . bmidstr (0x52d902c0[c]:"", 0, 0) = 0x1000fca2d30:"" . bmidstr (0x52d902c0[c]:"", 0, -1) = 0x1000fca2d30:"" . bmidstr (0x52d902c0[c]:"", 1, 3) = 0x1000fca2d30:"" . bmidstr (0x52d902b0[c]:"bogus", 0, 0) = 0x1000fca2d30:"" . bmidstr (0x52d902b0[c]:"bogus", 0, -1) = 0x1000fca2d30:"" . bmidstr (0x52d902b0[c]:"bogus", 1, 3) = 0x1000fca2d30:"ogu" . bmidstr (0x52d902b0[c]:"bogus", -1, 3) = 0x1000fca2d30:"bo" . bmidstr (0x52d902b0[c]:"bogus", -1, 9) = 0x1000fca2d30:"bogus" . bmidstr (0x52d902b0[c]:"bogus", 3, -1) = 0x1000fca2d30:"" . bmidstr (0x52d902b0[c]:"bogus", 9, 3) = 0x1000fca2d30:"" # failures: 0 TEST: int bconcat (bstring b0, const_bstring b1); . bconcat (NULL, NULL) = -1 . bconcat (NULL, 0x52d902c0[c]:"") = -1 . bconcat (0x52d902c0[c]:"", NULL) = -1 . bconcat (0x52d902c0[c]:"", 0x52d90200:[err:data=NULL]) = -1 . bconcat (0x52d902c0[c]:"", 0x52d90290:[err:slen=-5<0]) = -1 . bconcat (0x52d90200:[err:data=NULL], 0x52d902c0[c]:"") = -1 . bconcat (0x52d90290:[err:slen=-5<0], 0x52d902c0[c]:"") = -1 . bconcat (0x1000fca2d30[p]:"", 0x52d902c0[c]:"") = 0x1000fca2d30[p]:"" . bconcat (0x1000fca2d30:"", 0x52d902c0[c]:"") = 0x1000fca2d30:"" . bconcat (0x1000fca2d30[p]:"", 0x52d902b0[c]:"bogus") = 0x1000fca2d30[p]:"" . bconcat (0x1000fca2d30:"", 0x52d902b0[c]:"bogus") = 0x1000fca2d30:"bogus" . bconcat (0x1000fca2d30[p]:"bogus", 0x52d902c0[c]:"") = 0x1000fca2d30[p]:"bogus" . bconcat (0x1000fca2d30:"bogus", 0x52d902c0[c]:"") = 0x1000fca2d30:"bogus" . bconcat (0x1000fca2d30[p]:"bogus", 0x52d902b0[c]:"bogus") = 0x1000fca2d30[p]:"bogus" . bconcat (0x1000fca2d30:"bogus", 0x52d902b0[c]:"bogus") = 0x1000fca2d30:"bogusbogus" TEST: bconcat aliasing # failures: 0 TEST: int bconchar (bstring b, char c); . bconchar (NULL, x) = -1 . bconchar (0x52d90200:[err:data=NULL], x) = -1 . bconchar (0x52d90290:[err:slen=-5<0], x) = -1 . bconchar (0x52d902c0[c]:"", x) = 0x1000fca2290[p]:"" . bconchar (0x52d902c0[c]:"", x) = 0x1000fca2290:"x" . bconchar (0x52d902b0[c]:"bogus", x) = 0x1000fca2290[p]:"bogus" . bconchar (0x52d902b0[c]:"bogus", x) = 0x1000fca2290:"bogusx" # failures: 0 TEST: int biseq (const_bstring b0, const_bstring b1); . biseq (NULL, NULL) = -1 . biseq (0x52d902c0[c]:"", NULL) = -1 . biseq (NULL, 0x52d902c0[c]:"") = -1 . biseq (0x52d902b0[c]:"bogus", NULL) = -1 . biseq (NULL, 0x52d902b0[c]:"bogus") = -1 . biseq (0x52d90200:[err:data=NULL], 0x52d90200:[err:data=NULL]) = -1 . biseq (0x52d90290:[err:slen=-5<0], 0x52d90290:[err:slen=-5<0]) = -1 . biseq (0x52d902b0[c]:"bogus", 0x52d90290:[err:slen=-5<0]) = -1 . biseq (0x52d90290:[err:slen=-5<0], 0x52d902b0[c]:"bogus") = -1 . biseq (0x52d902c0[c]:"", 0x52d902c0[c]:"") = 1 . biseq (0x52d902b0[c]:"bogus", 0x52d902c0[c]:"") = 0 . biseq (0x52d902c0[c]:"", 0x52d902b0[c]:"bogus") = 0 . biseq (0x52d902b0[c]:"bogus", 0x52d902b0[c]:"bogus") = 1 . biseq (0x1000fca2290:"bpgus", 0x52d902b0[c]:"bogus") = 0 . biseq (0x52d902b0[c]:"bogus", 0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0 . biseq (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x52d902b0[c]:"bogus") = 0 # failures: 0 TEST: int bstrcmp (const_bstring b0, const_bstring b1); . bstrcmp (NULL, NULL) = -32768 . bstrcmp (0x52d902c0[c]:"", NULL) = -32768 . bstrcmp (NULL, 0x52d902c0[c]:"") = -32768 . bstrcmp (0x52d902b0[c]:"bogus", NULL) = -32768 . bstrcmp (NULL, 0x52d902b0[c]:"bogus") = -32768 . bstrcmp (0x52d90200:[err:data=NULL], 0x52d90200:[err:data=NULL]) = -32768 . bstrcmp (0x52d90290:[err:slen=-5<0], 0x52d90290:[err:slen=-5<0]) = -32768 . bstrcmp (0x52d902b0[c]:"bogus", 0x52d90290:[err:slen=-5<0]) = -32768 . bstrcmp (0x52d90290:[err:slen=-5<0], 0x52d902b0[c]:"bogus") = -32768 . bstrcmp (0x52d902c0[c]:"", 0x52d902c0[c]:"") = 0 . bstrcmp (0x52d902b0[c]:"bogus", 0x52d902c0[c]:"") = 1 . bstrcmp (0x52d902c0[c]:"", 0x52d902b0[c]:"bogus") = -1 . bstrcmp (0x52d902b0[c]:"bogus", 0x52d902b0[c]:"bogus") = 0 . bstrcmp (0x1000fca2290:"bpgus", 0x52d902b0[c]:"bogus") = 1 . bstrcmp (0x52d902b0[c]:"bogus", 0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 14 . bstrcmp (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x52d902b0[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 (0x52d902c0[c]:"", NULL, 0) = -32768 . bstrncmp (NULL, 0x52d902c0[c]:"", 0) = -32768 . bstrncmp (0x52d902c0[c]:"", NULL, 1) = -32768 . bstrncmp (NULL, 0x52d902c0[c]:"", 1) = -32768 . bstrncmp (0x52d90200:[err:data=NULL], 0x52d90200:[err:data=NULL], 1) = -32768 . bstrncmp (0x52d90290:[err:slen=-5<0], 0x52d90290:[err:slen=-5<0], 1) = -32768 . bstrncmp (0x52d902c0[c]:"", 0x52d90200:[err:data=NULL], 1) = -32768 . bstrncmp (0x52d902c0[c]:"", 0x52d90290:[err:slen=-5<0], 1) = -32768 . bstrncmp (0x52d90200:[err:data=NULL], 0x52d902c0[c]:"", 1) = -32768 . bstrncmp (0x52d90290:[err:slen=-5<0], 0x52d902c0[c]:"", 1) = -32768 . bstrncmp (0x52d902c0[c]:"", 0x52d902c0[c]:"", -1) = 0 . bstrncmp (0x52d902c0[c]:"", 0x52d902c0[c]:"", 0) = 0 . bstrncmp (0x52d902c0[c]:"", 0x52d902c0[c]:"", 1) = 0 . bstrncmp (0x52d902b0[c]:"bogus", 0x52d902b0[c]:"bogus", -1) = 0 . bstrncmp (0x52d902b0[c]:"bogus", 0x52d902b0[c]:"bogus", 0) = 0 . bstrncmp (0x52d902b0[c]:"bogus", 0x52d902b0[c]:"bogus", 1) = 0 . bstrncmp (0x52d902b0[c]:"bogus", 0x52d902b0[c]:"bogus", 9) = 0 # failures: 0 TEST: int bdestroy (const_bstring b); . bdestroy (NULL) = -1 . bdestroy (0x1000fca2d30[p]:"") = -1 . bdestroy (0x1000fca2290[p]:"bogus") = -1 . bdestroy (0x1000fca2d30:"") = 0 . bdestroy (0x1000fca2290:"bogus") = 0 . bdestroy (0x52d902c0[c]:"") = -1 . bdestroy (0x52d902c0[c]:"") = -1 . bdestroy (0x52d902b0[c]:"bogus") = -1 . bdestroy (0x52d902b0[c]:"bogus") = -1 . bdestroy (0x52d90200:[err:data=NULL]) = -1 . bdestroy (0x52d90290:[err:slen=-5<0]) = -1 # failures: 0 TEST: int binstr (const_bstring s1, int pos, const_bstring s2); . binstr (NULL, 0, NULL) = -1 . binstr (0x52d902c0[c]:"", 0, NULL) = -1 . binstr (NULL, 0, 0x52d902c0[c]:"") = -1 . binstr (0x52d902c0[c]:"", 0, 0x52d90200:[err:data=NULL]) = -1 . binstr (0x52d902c0[c]:"", 0, 0x52d90290:[err:slen=-5<0]) = -1 . binstr (0x52d90200:[err:data=NULL], 0, 0x52d902c0[c]:"") = -1 . binstr (0x52d90290:[err:slen=-5<0], 0, 0x52d902c0[c]:"") = -1 . binstr (0x52d90200:[err:data=NULL], 0, 0x52d90290:[err:slen=-5<0]) = -1 . binstr (0x52d90290:[err:slen=-5<0], 0, 0x52d90200:[err:data=NULL]) = -1 . binstr (0x52d902c0[c]:"", 0, 0x52d902c0[c]:"") = 0 . binstr (0x52d902c0[c]:"", 1, 0x52d902c0[c]:"") = -1 . binstr (0x52d902b0[c]:"bogus", 1, 0x52d902b0[c]:"bogus") = -1 . binstr (0x52d902b0[c]:"bogus", 5, 0x52d902c0[c]:"") = 5 . binstr (0x52d902b0[c]:"bogus", -1, 0x52d902b0[c]:"bogus") = -1 . binstr (0x52d902b0[c]:"bogus", 0, 0x52d902b0[c]:"bogus") = 0 . binstr (0x52d902b0[c]:"bogus", 0, 0x1000fca2290:"bogus") = 0 . binstr (0x52d902b0[c]:"bogus", 0, 0x1000fca2290:"BOGUS") = -1 . binstr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x52d902b0[c]:"bogus") = 10 . binstr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x52d902b0[c]:"bogus") = -1 . binstr (0x1000fca2290:"sssssssssap", 0, 0x1000fca2d30:"sap") = 8 . binstr (0x1000fca2d30:"sssssssssap", 3, 0x1000fca2290:"sap") = 8 . binstr (0x1000fca2290:"ssssssssssap", 3, 0x1000fca2d30:"sap") = 9 . binstr (0x1000fca2d30:"sssssssssap", 0, 0x1000fca2290:"s") = 0 . binstr (0x1000fca2290:"sssssssssap", 3, 0x1000fca2d30:"s") = 3 . binstr (0x1000fca2d30:"sssssssssap", 0, 0x1000fca2290:"a") = 9 . binstr (0x1000fca2290:"sssssssssap", 5, 0x1000fca2d30:"a") = 9 . binstr (0x1000fca2d30:"sasasasasap", 0, 0x1000fca2290:"sap") = 8 . binstr (0x1000fca2290:"ssasasasasap", 0, 0x1000fca2d30:"sap") = 9 TEST: int binstrcaseless (const_bstring s1, int pos, const_bstring s2); . binstrcaseless (NULL, 0, NULL) = -1 . binstrcaseless (0x52d902c0[c]:"", 0, NULL) = -1 . binstrcaseless (NULL, 0, 0x52d902c0[c]:"") = -1 . binstrcaseless (0x52d902c0[c]:"", 0, 0x52d90200:[err:data=NULL]) = -1 . binstrcaseless (0x52d902c0[c]:"", 0, 0x52d90290:[err:slen=-5<0]) = -1 . binstrcaseless (0x52d90200:[err:data=NULL], 0, 0x52d902c0[c]:"") = -1 . binstrcaseless (0x52d90290:[err:slen=-5<0], 0, 0x52d902c0[c]:"") = -1 . binstrcaseless (0x52d90200:[err:data=NULL], 0, 0x52d90290:[err:slen=-5<0]) = -1 . binstrcaseless (0x52d90290:[err:slen=-5<0], 0, 0x52d90200:[err:data=NULL]) = -1 . binstrcaseless (0x52d902c0[c]:"", 0, 0x52d902c0[c]:"") = 0 . binstrcaseless (0x52d902c0[c]:"", 1, 0x52d902c0[c]:"") = -1 . binstrcaseless (0x52d902b0[c]:"bogus", 1, 0x52d902b0[c]:"bogus") = -1 . binstrcaseless (0x52d902b0[c]:"bogus", 5, 0x52d902c0[c]:"") = 5 . binstrcaseless (0x52d902b0[c]:"bogus", -1, 0x52d902b0[c]:"bogus") = -1 . binstrcaseless (0x52d902b0[c]:"bogus", 0, 0x52d902b0[c]:"bogus") = 0 . binstrcaseless (0x52d902b0[c]:"bogus", 0, 0x1000fca2d30:"bogus") = 0 . binstrcaseless (0x52d902b0[c]:"bogus", 0, 0x1000fca2d30:"BOGUS") = 0 . binstrcaseless (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x52d902b0[c]:"bogus") = 10 . binstrcaseless (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x52d902b0[c]:"bogus") = -1 # failures: 0 TEST: int binstrr (const_bstring s1, int pos, const_bstring s2); . binstrr (NULL, 0, NULL) = -1 . binstrr (0x52d902c0[c]:"", 0, NULL) = -1 . binstrr (NULL, 0, 0x52d902c0[c]:"") = -1 . binstrr (0x52d902c0[c]:"", 0, 0x52d90200:[err:data=NULL]) = -1 . binstrr (0x52d902c0[c]:"", 0, 0x52d90290:[err:slen=-5<0]) = -1 . binstrr (0x52d90200:[err:data=NULL], 0, 0x52d902c0[c]:"") = -1 . binstrr (0x52d90290:[err:slen=-5<0], 0, 0x52d902c0[c]:"") = -1 . binstrr (0x52d90200:[err:data=NULL], 0, 0x52d90290:[err:slen=-5<0]) = -1 . binstrr (0x52d90290:[err:slen=-5<0], 0, 0x52d90200:[err:data=NULL]) = -1 . binstrr (0x52d902c0[c]:"", 0, 0x52d902c0[c]:"") = 0 . binstrr (0x52d902c0[c]:"", 1, 0x52d902c0[c]:"") = -1 . binstrr (0x52d902b0[c]:"bogus", 1, 0x52d902b0[c]:"bogus") = 0 . binstrr (0x52d902b0[c]:"bogus", 5, 0x52d902c0[c]:"") = 5 . binstrr (0x52d902b0[c]:"bogus", -1, 0x52d902b0[c]:"bogus") = -1 . binstrr (0x52d902b0[c]:"bogus", 0, 0x52d902b0[c]:"bogus") = 0 . binstrr (0x52d902b0[c]:"bogus", 0, 0x1000fca2d30:"bogus") = 0 . binstrr (0x52d902b0[c]:"bogus", 0, 0x1000fca2d30:"BOGUS") = -1 . binstrr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x52d902b0[c]:"bogus") = -1 . binstrr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x52d902b0[c]:"bogus") = 10 TEST: int binstrrcaseless (const_bstring s1, int pos, const_bstring s2); . binstrrcaseless (NULL, 0, NULL) = -1 . binstrrcaseless (0x52d902c0[c]:"", 0, NULL) = -1 . binstrrcaseless (NULL, 0, 0x52d902c0[c]:"") = -1 . binstrrcaseless (0x52d902c0[c]:"", 0, 0x52d90200:[err:data=NULL]) = -1 . binstrrcaseless (0x52d902c0[c]:"", 0, 0x52d90290:[err:slen=-5<0]) = -1 . binstrrcaseless (0x52d90200:[err:data=NULL], 0, 0x52d902c0[c]:"") = -1 . binstrrcaseless (0x52d90290:[err:slen=-5<0], 0, 0x52d902c0[c]:"") = -1 . binstrrcaseless (0x52d90200:[err:data=NULL], 0, 0x52d90290:[err:slen=-5<0]) = -1 . binstrrcaseless (0x52d90290:[err:slen=-5<0], 0, 0x52d90200:[err:data=NULL]) = -1 . binstrrcaseless (0x52d902c0[c]:"", 0, 0x52d902c0[c]:"") = 0 . binstrrcaseless (0x52d902c0[c]:"", 1, 0x52d902c0[c]:"") = -1 . binstrrcaseless (0x52d902b0[c]:"bogus", 1, 0x52d902b0[c]:"bogus") = 0 . binstrrcaseless (0x52d902b0[c]:"bogus", 5, 0x52d902c0[c]:"") = 5 . binstrrcaseless (0x52d902b0[c]:"bogus", -1, 0x52d902b0[c]:"bogus") = -1 . binstrrcaseless (0x52d902b0[c]:"bogus", 0, 0x52d902b0[c]:"bogus") = 0 . binstrrcaseless (0x52d902b0[c]:"bogus", 0, 0x1000fca2d30:"bogus") = 0 . binstrrcaseless (0x52d902b0[c]:"bogus", 0, 0x1000fca2d30:"BOGUS") = 0 . binstrrcaseless (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x52d902b0[c]:"bogus") = -1 . binstrrcaseless (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 20, 0x52d902b0[c]:"bogus") = 10 # failures: 0 TEST: int binchr (const_bstring s1, int pos, const_bstring s2); . binchr (NULL, 0, NULL) = -1 . binchr (0x52d902c0[c]:"", 0, NULL) = -1 . binchr (NULL, 0, 0x52d902c0[c]:"") = -1 . binchr (0x52d902c0[c]:"", 0, 0x52d90200:[err:data=NULL]) = -1 . binchr (0x52d902c0[c]:"", 0, 0x52d90290:[err:slen=-5<0]) = -1 . binchr (0x52d90200:[err:data=NULL], 0, 0x52d902c0[c]:"") = -1 . binchr (0x52d90290:[err:slen=-5<0], 0, 0x52d902c0[c]:"") = -1 . binchr (0x52d90290:[err:slen=-5<0], 0, 0x52d90200:[err:data=NULL]) = -1 . binchr (0x52d90200:[err:data=NULL], 0, 0x52d90290:[err:slen=-5<0]) = -1 . binchr (0x52d902c0[c]:"", 0, 0x52d902c0[c]:"") = -1 . binchr (0x52d902b0[c]:"bogus", 0, 0x52d902c0[c]:"") = -1 . binchr (0x52d902b0[c]:"bogus", 0, 0x52d902b0[c]:"bogus") = 0 . binchr (0x52d902b0[c]:"bogus", 0, 0x3fffe1868518[c]:"ooooo") = 1 . binchr (0x52d902b0[c]:"bogus", 0, 0x1000fca2d30:"bogus") = 0 . binchr (0x52d902b0[c]:"bogus", -1, 0x52d902b0[c]:"bogus") = -1 . binchr (0x52d902b0[c]:"bogus", 10, 0x52d902b0[c]:"bogus") = -1 . binchr (0x52d902b0[c]:"bogus", 1, 0x52d902b0[c]:"bogus") = 1 . binchr (0x52d902c0[c]:"", 0, 0x52d902b0[c]:"bogus") = -1 . binchr (0x52d90270[c]:"xxxxx", 0, 0x52d902b0[c]:"bogus") = -1 . binchr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x52d902b0[c]:"bogus") = 3 . binchr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x52d902b0[c]:"bogus") = 10 # failures: 0 TEST: int binchrr (const_bstring s1, int pos, const_bstring s2); . binchrr (NULL, 0, NULL) = -1 . binchrr (0x52d902c0[c]:"", 0, NULL) = -1 . binchrr (NULL, 0, 0x52d902c0[c]:"") = -1 . binchrr (0x52d902c0[c]:"", 0, 0x52d902c0[c]:"") = -1 . binchrr (0x52d902b0[c]:"bogus", 0, 0x52d902c0[c]:"") = -1 . binchrr (0x52d902c0[c]:"", 0, 0x52d90200:[err:data=NULL]) = -1 . binchrr (0x52d902c0[c]:"", 0, 0x52d90290:[err:slen=-5<0]) = -1 . binchrr (0x52d90200:[err:data=NULL], 0, 0x52d902c0[c]:"") = -1 . binchrr (0x52d90290:[err:slen=-5<0], 0, 0x52d902c0[c]:"") = -1 . binchrr (0x52d90290:[err:slen=-5<0], 0, 0x52d90200:[err:data=NULL]) = -1 . binchrr (0x52d90200:[err:data=NULL], 0, 0x52d90290:[err:slen=-5<0]) = -1 . binchrr (0x52d902b0[c]:"bogus", 0, 0x52d902b0[c]:"bogus") = 0 . binchrr (0x52d902b0[c]:"bogus", 0, 0x1000fca2d30:"bogus") = 0 . binchrr (0x52d902b0[c]:"bogus", -1, 0x52d902b0[c]:"bogus") = -1 . binchrr (0x52d902b0[c]:"bogus", 5, 0x52d902b0[c]:"bogus") = 4 . binchrr (0x52d902b0[c]:"bogus", 4, 0x52d902b0[c]:"bogus") = 4 . binchrr (0x52d902b0[c]:"bogus", 1, 0x52d902b0[c]:"bogus") = 1 . binchrr (0x52d902c0[c]:"", 0, 0x52d902b0[c]:"bogus") = -1 . binchrr (0x52d90270[c]:"xxxxx", 4, 0x52d902b0[c]:"bogus") = -1 . binchrr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x52d902b0[c]:"bogus") = -1 . binchrr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x52d902b0[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, 0x52d902c0[c]:"", 3F) = -1 . bsetstr (0x52d90200:[err:data=NULL], 0, NULL, 3F) = -1 . bsetstr (0x52d90200:[err:data=NULL], 0, 0x52d90200:[err:data=NULL], 3F) = -1 . bsetstr (0x52d902c0[c]:"", 0, 0x52d90200:[err:data=NULL], 3F) = -1 . bsetstr (0x52d90200:[err:data=NULL], 0, 0x52d902c0[c]:"", 3F) = -1 . bsetstr (0x52d90290:[err:slen=-5<0], 0, NULL, 3F) = -1 . bsetstr (0x52d90290:[err:slen=-5<0], 0, 0x52d90290:[err:slen=-5<0], 3F) = -1 . bsetstr (0x52d902c0[c]:"", 0, 0x52d90290:[err:slen=-5<0], 3F) = -1 . bsetstr (0x52d90290:[err:slen=-5<0], 0, 0x52d902c0[c]:"", 3F) = -1 . bsetstr (0x1000fca2d30[p]:"", 0, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30[p]:"" . bsetstr (0x1000fca2d30:"", 0, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30:"" . bsetstr (0x1000fca2d30[p]:"", 5, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30[p]:"" . bsetstr (0x1000fca2d30:"", 5, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30:"?????" . bsetstr (0x1000fca2d30[p]:"", 5, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"" . bsetstr (0x1000fca2d30:"", 5, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"?????bogus" . bsetstr (0x1000fca2d30[p]:"bogus", 0, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30[p]:"bogus" . bsetstr (0x1000fca2d30:"bogus", 0, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30:"bogus" . bsetstr (0x1000fca2d30[p]:"", 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"" . bsetstr (0x1000fca2d30:"", 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"bogus" . bsetstr (0x1000fca2d30[p]:"bogus", 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"bogus" . bsetstr (0x1000fca2d30:"bogus", 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"bogus" . bsetstr (0x1000fca2d30[p]:"bogus", -1, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"bogus" . bsetstr (0x1000fca2d30:"bogus", -1, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"bogus" . bsetstr (0x1000fca2d30[p]:"bogus", 2, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"bogus" . bsetstr (0x1000fca2d30:"bogus", 2, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"bobogus" . bsetstr (0x1000fca2d30[p]:"bogus", 6, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"bogus" . bsetstr (0x1000fca2d30:"bogus", 6, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"bogus?bogus" . bsetstr (0x52d902b0[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, 0x52d902c0[c]:"", 3F) = -1 . binsert (0x52d90200:[err:data=NULL], 0, NULL, 3F) = -1 . binsert (0x52d90200:[err:data=NULL], 0, 0x52d90200:[err:data=NULL], 3F) = -1 . binsert (0x52d902c0[c]:"", 0, 0x52d90200:[err:data=NULL], 3F) = -1 . binsert (0x52d90200:[err:data=NULL], 0, 0x52d902c0[c]:"", 3F) = -1 . binsert (0x52d90290:[err:slen=-5<0], 0, NULL, 3F) = -1 . binsert (0x52d90290:[err:slen=-5<0], 0, 0x52d90290:[err:slen=-5<0], 3F) = -1 . binsert (0x52d902c0[c]:"", 0, 0x52d90290:[err:slen=-5<0], 3F) = -1 . binsert (0x52d90290:[err:slen=-5<0], 0, 0x52d902c0[c]:"", 3F) = -1 . binsert (0x1000fca2d30[p]:"", 0, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30[p]:"" . binsert (0x1000fca2d30:"", 0, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30:"" . binsert (0x1000fca2d30[p]:"", 5, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30[p]:"" . binsert (0x1000fca2d30:"", 5, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30:"?????" . binsert (0x1000fca2d30[p]:"", 5, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"" . binsert (0x1000fca2d30:"", 5, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"?????bogus" . binsert (0x1000fca2d30[p]:"bogus", 0, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30[p]:"bogus" . binsert (0x1000fca2d30:"bogus", 0, 0x52d902c0[c]:"", 3F) = 0x1000fca2d30:"bogus" . binsert (0x1000fca2d30[p]:"", 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"" . binsert (0x1000fca2d30:"", 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"bogus" . binsert (0x1000fca2d30[p]:"bogus", 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"bogus" . binsert (0x1000fca2d30:"bogus", 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"bogusbogus" . binsert (0x1000fca2d30[p]:"bogus", -1, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"bogus" . binsert (0x1000fca2d30:"bogus", -1, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"bogus" . binsert (0x1000fca2d30[p]:"bogus", 2, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"bogus" . binsert (0x1000fca2d30:"bogus", 2, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"bobogusgus" . binsert (0x1000fca2d30[p]:"bogus", 6, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30[p]:"bogus" . binsert (0x1000fca2d30:"bogus", 6, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca2d30:"bogus?bogus" . binsert (0x52d902b0[c]:"bogus", 6, NULL, 3F) = -1 . binsert (0x1000fca2d30:"aaaaabbbbb", 2, 0x3fffe1868518[c]:"abbbbb", '?') = 0x1000fca2d30:"aaabbbaaab" (Alias test) # failures: 0 TEST: int bdelete (bstring s1, int pos, int len); . bdelete (NULL, 0, 0) = -1 . bdelete (0x52d90200:[err:data=NULL], 0, 0) = -1 . bdelete (0x52d90290:[err:slen=-5<0], 0, 0) = -1 . bdelete (0x1000fca2290[p]:"", 0, 0) = 0x1000fca2290[p]:"" . bdelete (0x1000fca2290:"", 0, 0) = 0x1000fca2290:"" . bdelete (0x1000fca2290[p]:"bogus", 1, 3) = 0x1000fca2290[p]:"bogus" . bdelete (0x1000fca2290:"bogus", 1, 3) = 0x1000fca2290:"bs" . bdelete (0x1000fca2290[p]:"bogus", -1, 3) = 0x1000fca2290[p]:"bogus" . bdelete (0x1000fca2290:"bogus", -1, 3) = 0x1000fca2290:"gus" . bdelete (0x1000fca2290[p]:"bogus", 1, -3) = 0x1000fca2290[p]:"bogus" . bdelete (0x1000fca2290:"bogus", 1, -3) = 0x1000fca2290:"bogus" . bdelete (0x1000fca2290[p]:"bogus", 3, 9) = 0x1000fca2290[p]:"bogus" . bdelete (0x1000fca2290:"bogus", 3, 9) = 0x1000fca2290:"bog" . bdelete (0x1000fca2290[p]:"bogus", 3, 1) = 0x1000fca2290[p]:"bogus" . bdelete (0x1000fca2290:"bogus", 3, 1) = 0x1000fca2290:"bogs" . bdelete (0x1000fca2290[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 4, 300) = 0x1000fca2290[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bdelete (0x1000fca2290:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 4, 300) = 0x1000fca2290:"This" # failures: 0 TEST: int balloc (bstring s, int len); . balloc (NULL, 2) = -1 . balloc (0x52d90200:[err:data=NULL], 2) = -1 . balloc (0x52d90290:[err:slen=-5<0], 2) = -1 . balloc (0x1000fca2290:"test", 2) = 0 . balloc (0x1000fca2290:"test", -1) = -1 . balloc (0x1000fca2290:"test", 9) = 0 . balloc (0x1000fca2290:"test", 2) = 0 . balloc (0x1000fca2290[p]:"test", 4) = -1 . balloc (0x1000fca2290:"test", 2) = 0 . balloc (0x52d902c0[c]:"", 9) = -1 # failures: 0 TEST: int ballocmin (bstring s, int len); . ballocmin (NULL, 2) = [1338] -1 . ballocmin (0x52d90200:[err:data=NULL], 2) = [1338] -1 . ballocmin (0x52d90290:[err:slen=-5<0], 2) = [1338] -1 . ballocmin (0x1000fca2290:"test", 2) = [1338] 0 . ballocmin (0x1000fca2290:"test", -1) = [1338] -1 . ballocmin (0x1000fca2290:"test", 9) = [1338] 0 . ballocmin (0x1000fca2290:"test", 2) = [1338] 0 . ballocmin (0x1000fca2290:"test", 9) = [1338] 0 . ballocmin (0x1000fca2290[p]:"test", 4) = [1338] -1 . ballocmin (0x1000fca2290:"test", 2) = [1338] 0 . ballocmin (0x52d902c0[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 (0x52d90200:[err:data=NULL], 5) = -1 . bpattern (0x52d90290:[err:slen=-5<0], 5) = -1 . bpattern (0x1000fca2290:"", 0) = 0x1000fca2290:"" . bpattern (0x1000fca2d50:"", 10) = 0x1000fca2d50:"" . bpattern (0x1000fca2860:"", -1) = 0x1000fca2860:"" . bpattern (0x1000fca3b00:"bogus", 0) = 0x1000fca3b00:"" . bpattern (0x1000fca3b40:"bogus", 12) = 0x1000fca3b40:"bogusbogusbo" . bpattern (0x1000fca3b80:"bogus", -1) = 0x1000fca3b80:"bogus" # failures: 0 TEST: bstring bformat (const char * fmt, ...); . bformat (NULL, 1, 2) = NULL . bformat ("%d %s", 1, "xy") = 0x1000fca3bc0:"1 xy" . bformat ("%d %s(%s)", 6, 0x1000fca3c00:"1 xy", 0x52d902b0[c]:"bogus") = 0x1000fca3bc0:"6 1 xy(bogus)" . bformat ("%s%s%s%s%s%s%s%s", ...) ... # failures: 0 TEST: int bformata (bstring b, const char * fmt, ...); . bformata (0x1000fca3bc0:"", NULL, 1, 2) = -1 . bformata (0x52d90200:[err:data=NULL], "%d %d", 1, 2) = -1 . bformata (0x1000fca3bc0:"", "%d %d", 1, 2) = 0x1000fca3bc0:"1 2" . bformata ("x", "%s%s%s%s%s%s%s%s", ...) ... # failures: 0 TEST: int bassignformat (bstring b, const char * fmt, ...); . bassignformat (0x1000fca3bc0:"Initial", NULL, 1, 2) = -1 . bassignformat (0x52d90200:[err:data=NULL], "%d %d", 1, 2) = -1 . bassignformat (0x1000fca3bc0:"Initial", "%d %d", 1, 2) = 0x1000fca3bc0:"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 (0x52d90200:[err:data=NULL], '?') = (nil) . bsplit (0x52d90290:[err:slen=-5<0], '?') = (nil) . bsplit (0x52d902c0[c]:"", '?') = {0x1000fca3be0:"":<1>} . bsplit (0x52d902b0[c]:"bogus", 'o') = {0x1000fca3be0:"b", 0x1000fca3c20:"gus":<2>} . bsplit (0x52d902b0[c]:"bogus", 's') = {0x1000fca3c20:"bogu", 0x1000fca3be0:"":<2>} . bsplit (0x52d902b0[c]:"bogus", 'b') = {0x1000fca3be0:"", 0x1000fca3c20:"ogus":<2>} . bsplit (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 'o') = {0x1000fca3c20:"This is a b", 0x1000fca3be0:"gus but reas", 0x1000fca4890:"nably l", 0x1000fca48d0:"ng string. Just l", 0x1000fca4940:"ng en", 0x1000fca4980:"ugh t", 0x1000fca49c0:" cause s", 0x1000fca4a00:"me mall", 0x1000fca4ad0:"cing.":<9>} . bsplit (0x3fffe18684c0[c]:",,,,", ',') = {0x1000fca48b0:"", 0x1000fca3c00:"", 0x1000fca4870:"", 0x1000fca3bc0:"", 0x1000fca49e0:"":<5>} TEST: struct bstrList * bsplitstr (bstring str, const_bstring splitStr); . bsplitstr (NULL, NULL) = (nil) . bsplitstr (0x52d90200:[err:data=NULL], 0x52d902c0[c]:"") = (nil) . bsplitstr (0x52d90290:[err:slen=-5<0], 0x52d902c0[c]:"") = (nil) . bsplitstr (0x52d902b0[c]:"bogus", 0x52d902c0[c]:"") = {0x1000fca48b0:"b", 0x1000fca4a20:"o", 0x1000fca4af0:"g", 0x1000fca4890:"u", 0x1000fca4b60:"s":<5>} . bsplitstr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe18684a0[c]:"is") = {0x1000fca48b0:"Th", 0x1000fca4980:" ", 0x1000fca49c0:" a bogus but reasonably long string. Just long enough to cause some mallocing.":<3>} . bsplitstr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe18684b0[c]:"ng") = {0x1000fca49c0:"This is a bogus but reasonably lo", 0x1000fca4980:" stri", 0x1000fca48b0:". Just lo", 0x1000fca49e0:" enough to cause some malloci", 0x1000fca3c20:".":<5>} # failures: 0 TEST: extern struct bstrList * bsplits (const_bstring str, const_bstring splitStr); . bsplits (NULL, 0x3fffe18684a0[c]:"o") = (nil) . bsplits (0x3fffe18684a0[c]:"o", NULL) = (nil) . bsplits (0x52d902c0[c]:"", 0x3fffe18684a0[c]:"o") {0x1000fca4890:"":<1>} . bsplits (0x52d902c0[c]:"", 0x3fffe18684e0[c]:"uo") {0x1000fca4890:"":<1>} . bsplits (0x52d902b0[c]:"bogus", 0x52d902c0[c]:"") {0x1000fca4890:"bogus":<1>} . bsplits (0x52d902b0[c]:"bogus", 0x3fffe18684a0[c]:"o") {0x1000fca4890:"b", 0x1000fca4ad0:"gus":<2>} . bsplits (0x52d902b0[c]:"bogus", 0x3fffe18684b0[c]:"s") {0x1000fca4ad0:"bogu", 0x1000fca4890:"":<2>} . bsplits (0x52d902b0[c]:"bogus", 0x3fffe18684c0[c]:"b") {0x1000fca4890:"", 0x1000fca4ad0:"ogus":<2>} . bsplits (0x52d902b0[c]:"bogus", 0x3fffe18684d0[c]:"bs") {0x1000fca4ad0:"", 0x1000fca4890:"ogu", 0x1000fca4d40:"":<3>} . bsplits (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe18684a0[c]:"o") {0x1000fca4d40:"This is a b", 0x1000fca4890:"gus but reas", 0x1000fca4ad0:"nably l", 0x1000fca4da0:"ng string. Just l", 0x1000fca4870:"ng en", 0x1000fca3be0:"ugh t", 0x1000fca3c00:" cause s", 0x1000fca4d20:"me mall", 0x1000fca48d0:"cing.":<9>} . bsplits (0x52d902b0[c]:"bogus", 0x3fffe18684e0[c]:"uo") {0x1000fca49f0:"b", 0x1000fca4b60:"g", 0x1000fca49d0:"s":<3>} # failures: 0 TEST: bstream integrated test . bsbufflength (bs, 0) -> 1024 . bspeek () -> 0x1000fca4ea0:"" . bsreadln ('?') -> 0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsunread (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") . bspeek () -> 0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('?') -> 0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('.') -> 0x1000fca4ea0:"This is a bogus but reasonably long string." . bsunread (0x1000fca4ea0:"This is a bogus but reasonably long string.") . bspeek () -> 0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bsreadln ('.') -> 0x1000fca4ea0:"This is a bogus but reasonably long string." . bssplitscb (' ') -> 0x1000fca4ea0:"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 (0x52d902c0[c]:"", 0, NULL) = -1 . bninchr (NULL, 0, 0x52d902c0[c]:"") = -1 . bninchr (0x52d902b0[c]:"bogus", 3, 0x52d90200:[err:data=NULL]) = -1 . bninchr (0x52d90200:[err:data=NULL], 3, 0x52d902b0[c]:"bogus") = -1 . bninchr (0x52d902c0[c]:"", 0, 0x52d902c0[c]:"") = -1 . bninchr (0x52d902b0[c]:"bogus", 0, 0x52d902c0[c]:"") = -1 . bninchr (0x52d902b0[c]:"bogus", 0, 0x52d902b0[c]:"bogus") = -1 . bninchr (0x52d902b0[c]:"bogus", 1, 0x52d902b0[c]:"bogus") = -1 . bninchr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3, 0x52d902b0[c]:"bogus") = 4 . bninchr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 3, 0x1000fca4ea0:"bogus") = 4 . bninchr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", -1, 0x52d902b0[c]:"bogus") = -1 . bninchr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 1000, 0x52d902b0[c]:"bogus") = -1 . bninchr (0x52d90270[c]:"xxxxx", 0, 0x52d902b0[c]:"bogus") = 0 . bninchr (0x52d90270[c]:"xxxxx", 1, 0x52d902b0[c]:"bogus") = 1 . bninchr (0x52d902c0[c]:"", 0, 0x52d902b0[c]:"bogus") = -1 . bninchr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0, 0x52d902b0[c]:"bogus") = 0 . bninchr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x52d902b0[c]:"bogus") = 15 # failures: 0 TEST: int bninchrr (const_bstring s1, int pos, const_bstring s2); . bninchrr (NULL, 0, NULL) = -1 . bninchrr (0x52d902c0[c]:"", 0, NULL) = -1 . bninchrr (NULL, 0, 0x52d902c0[c]:"") = -1 . bninchrr (0x52d902c0[c]:"", 0, 0x52d902c0[c]:"") = -1 . bninchrr (0x52d902b0[c]:"bogus", 0, 0x52d902c0[c]:"") = -1 . bninchrr (0x52d902b0[c]:"bogus", 0, 0x52d90200:[err:data=NULL]) = -1 . bninchrr (0x52d90200:[err:data=NULL], 0, 0x52d902b0[c]:"bogus") = -1 . bninchrr (0x52d902b0[c]:"bogus", 0, 0x52d902b0[c]:"bogus") = -1 . bninchrr (0x52d902b0[c]:"bogus", 4, 0x52d902b0[c]:"bogus") = -1 . bninchrr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x52d902b0[c]:"bogus") = 9 . bninchrr (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 10, 0x1000fca4ea0:"bogus") = 9 . bninchrr (0x52d90270[c]:"xxxxx", 4, 0x52d902b0[c]:"bogus") = 4 . bninchrr (0x52d902c0[c]:"", 0, 0x52d902b0[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, 0x52d902c0[c]:"", 3F) = -1 . breplace (0x52d90200:[err:data=NULL], 1, 3, 0x52d902b0[c]:"bogus", 3F) = -1 . breplace (0x52d902b0[c]:"bogus", 1, 3, 0x52d90200:[err:data=NULL], 3F) = -1 . breplace (0x1000fca4ea0[p]:"", 0, 0, 0x52d902c0[c]:"", 3F) = 0x1000fca4ea0[p]:"" . breplace (0x1000fca4ea0:"", 0, 0, 0x52d902c0[c]:"", 3F) = 0x1000fca4ea0:"" . breplace (0x1000fca4ea0[p]:"", 5, 0, 0x52d902c0[c]:"", 3F) = 0x1000fca4ea0[p]:"" . breplace (0x1000fca4ea0:"", 5, 0, 0x52d902c0[c]:"", 3F) = 0x1000fca4ea0:"?????" . breplace (0x1000fca4ea0[p]:"", 5, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0[p]:"" . breplace (0x1000fca4ea0:"", 5, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0:"?????bogus" . breplace (0x1000fca4ea0[p]:"bogus", 0, 0, 0x52d902c0[c]:"", 3F) = 0x1000fca4ea0[p]:"bogus" . breplace (0x1000fca4ea0:"bogus", 0, 0, 0x52d902c0[c]:"", 3F) = 0x1000fca4ea0:"bogus" . breplace (0x1000fca4ea0[p]:"", 0, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0[p]:"" . breplace (0x1000fca4ea0:"", 0, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0:"bogus" . breplace (0x1000fca4ea0[p]:"bogus", 0, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0[p]:"bogus" . breplace (0x1000fca4ea0:"bogus", 0, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0:"bogusbogus" . breplace (0x1000fca4ea0[p]:"bogus", 1, 3, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0[p]:"bogus" . breplace (0x1000fca4ea0:"bogus", 1, 3, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0:"bboguss" . breplace (0x1000fca4ea0[p]:"bogus", 3, 8, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0[p]:"bogus" . breplace (0x1000fca4ea0:"bogus", 3, 8, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0:"bogbogus" . breplace (0x1000fca4ea0[p]:"bogus", -1, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0[p]:"bogus" . breplace (0x1000fca4ea0:"bogus", -1, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0:"bogus" . breplace (0x1000fca4ea0[p]:"bogus", 2, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0[p]:"bogus" . breplace (0x1000fca4ea0:"bogus", 2, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0:"bobogusgus" . breplace (0x1000fca4ea0[p]:"bogus", 6, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0[p]:"bogus" . breplace (0x1000fca4ea0:"bogus", 6, 0, 0x52d902b0[c]:"bogus", 3F) = 0x1000fca4ea0:"bogus?bogus" . breplace (0x52d902b0[c]:"bogus", 6, 0, NULL, 3F) = -1 # failures: 0 TEST: int bassign (bstring b0, const_bstring b1); . bassign (NULL, NULL) = -1 . bassign (NULL, 0x52d902c0[c]:"") = -1 . bassign (0x52d902c0[c]:"", NULL) = -1 . bassign (0x52d90200:[err:data=NULL], 0x52d902c0[c]:"") = -1 . bassign (0x52d90290:[err:slen=-5<0], 0x52d902c0[c]:"") = -1 . bassign (0x52d902c0[c]:"", 0x52d90200:[err:data=NULL]) = -1 . bassign (0x52d902c0[c]:"", 0x52d90290:[err:slen=-5<0]) = -1 . bassign (0x1000fca4ea0[p]:"", 0x52d902c0[c]:"") = 0x1000fca4ea0[p]:"" . bassign (0x1000fca4ea0:"", 0x52d902c0[c]:"") = 0x1000fca4ea0:"" . bassign (0x1000fca4ea0[p]:"", 0x52d902b0[c]:"bogus") = 0x1000fca4ea0[p]:"" . bassign (0x1000fca4ea0:"", 0x52d902b0[c]:"bogus") = 0x1000fca4ea0:"bogus" . bassign (0x1000fca4ea0[p]:"bogus", 0x52d902c0[c]:"") = 0x1000fca4ea0[p]:"bogus" . bassign (0x1000fca4ea0:"bogus", 0x52d902c0[c]:"") = 0x1000fca4ea0:"" . bassign (0x1000fca4ea0[p]:"bogus", 0x52d902b0[c]:"bogus") = 0x1000fca4ea0[p]:"bogus" . bassign (0x1000fca4ea0:"bogus", 0x52d902b0[c]:"bogus") = 0x1000fca4ea0:"bogus" # failures: 0 TEST: int bstrchr (const_bstring s1, int c); . bstrchr (NULL, 0) = -1 . bstrchr (0x52d90200:[err:data=NULL], 98) = -1 . bstrchr (0x52d90290:[err:slen=-5<0], 115) = -1 . bstrchr (0x52d902c0[c]:"", 0) = -1 . bstrchr (0x52d902b0[c]:"bogus", 0) = -1 . bstrchr (0x52d902b0[c]:"bogus", 98) = 0 . bstrchr (0x52d902b0[c]:"bogus", 115) = 4 . bstrchr (0x52d902b0[c]:"bogus", 113) = -1 . bstrchr (0x52d90270[c]:"xxxxx", 0) = -1 . bstrchr (0x52d90270[c]:"xxxxx", 98) = -1 . bstrchr (0x52d902a0[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 (0x52d90200:[err:data=NULL], 98) = -1 . bstrrchr (0x52d90290:[err:slen=-5<0], 115) = -1 . bstrrchr (0x52d902c0[c]:"", 0) = -1 . bstrrchr (0x52d902b0[c]:"bogus", 0) = -1 . bstrrchr (0x52d902b0[c]:"bogus", 98) = 0 . bstrrchr (0x52d902b0[c]:"bogus", 115) = 4 . bstrrchr (0x52d902b0[c]:"bogus", 113) = -1 . bstrrchr (0x52d90270[c]:"xxxxx", 0) = -1 . bstrrchr (0x52d90270[c]:"xxxxx", 98) = -1 . bstrrchr (0x52d902a0[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 (0x52d90200:[err:data=NULL], 98, 0) = -1 . bstrchrp (0x52d90290:[err:slen=-5<0], 115, 0) = -1 . bstrchrp (0x52d902b0[c]:"bogus", 98, -1) = -1 . bstrchrp (0x52d902b0[c]:"bogus", 98, 5) = -1 . bstrchrp (0x52d902c0[c]:"", 0, 0) = -1 . bstrchrp (0x52d902b0[c]:"bogus", 0, 0) = -1 . bstrchrp (0x52d902b0[c]:"bogus", 98, 0) = 0 . bstrchrp (0x52d902b0[c]:"bogus", 98, 1) = -1 . bstrchrp (0x52d902b0[c]:"bogus", 115, 0) = 4 . bstrchrp (0x52d902b0[c]:"bogus", 113, 0) = -1 TEST: int bstrrchrp (const_bstring s1, int c, int pos); . bstrrchrp (NULL, 0, 0) = -1 . bstrrchrp (0x52d90200:[err:data=NULL], 98, 0) = -1 . bstrrchrp (0x52d90290:[err:slen=-5<0], 115, 0) = -1 . bstrrchrp (0x52d902b0[c]:"bogus", 98, -1) = -1 . bstrrchrp (0x52d902b0[c]:"bogus", 98, 5) = -1 . bstrrchrp (0x52d902c0[c]:"", 0, 0) = -1 . bstrrchrp (0x52d902b0[c]:"bogus", 0, 0) = -1 . bstrrchrp (0x52d902b0[c]:"bogus", 98, 0) = 0 . bstrrchrp (0x52d902b0[c]:"bogus", 98, 4) = 0 . bstrrchrp (0x52d902b0[c]:"bogus", 115, 4) = 4 . bstrrchrp (0x52d902b0[c]:"bogus", 115, 0) = -1 # failures: 0 TEST: int bcatcstr (bstring b0, const char * s); . bcatcstr (NULL, (nil)) = -1 . bcatcstr (NULL, 0x52d746b8) = -1 . bcatcstr (0x1000fca4ea0[p]:"", (nil)) = 0x1000fca4ea0[p]:"" . bcatcstr (0x1000fca4ea0:"", (nil)) = 0x1000fca4ea0:"" . bcatcstr (0x52d90200:[err:data=NULL], 0x52d74570) = -1 . bcatcstr (0x52d90290:[err:slen=-5<0], 0x52d74570) = -1 . bcatcstr (0x1000fca4ea0[p]:"", 0x52d746b8) = 0x1000fca4ea0[p]:"" . bcatcstr (0x1000fca4ea0:"", 0x52d746b8) = 0x1000fca4ea0:"" . bcatcstr (0x1000fca4ea0[p]:"", 0x52d74570) = 0x1000fca4ea0[p]:"" . bcatcstr (0x1000fca4ea0:"", 0x52d74570) = 0x1000fca4ea0:"bogus" . bcatcstr (0x1000fca4ea0[p]:"bogus", 0x52d746b8) = 0x1000fca4ea0[p]:"bogus" . bcatcstr (0x1000fca4ea0:"bogus", 0x52d746b8) = 0x1000fca4ea0:"bogus" . bcatcstr (0x1000fca4ea0[p]:"bogus", 0x52d74570) = 0x1000fca4ea0[p]:"bogus" . bcatcstr (0x1000fca4ea0:"bogus", 0x52d74570) = 0x1000fca4ea0:"bogusbogus" # failures: 0 TEST: int bcatblk (bstring b0, const char * s); . bcatblk (NULL, (nil), 0) = -1 . bcatblk (NULL, 0x52d746b8, 0) = -1 . bcatblk (0x1000fca4ea0[p]:"", (nil)) = 0x1000fca4ea0[p]:"" . bcatblk (0x1000fca4ea0:"", (nil)) = 0x1000fca4ea0:"" . bcatblk (0x1000fca4ea0[p]:"", (nil)) = 0x1000fca4ea0[p]:"" . bcatblk (0x1000fca4ea0:"", (nil)) = 0x1000fca4ea0:"" . bcatblk (0x52d90200:[err:data=NULL], (nil), 0) = -1 . bcatblk (0x52d90290:[err:slen=-5<0], (nil), 0) = -1 . bcatblk (0x1000fca4ea0[p]:"", 0x52d746b8) = 0x1000fca4ea0[p]:"" . bcatblk (0x1000fca4ea0:"", 0x52d746b8) = 0x1000fca4ea0:"" . bcatblk (0x1000fca4ea0[p]:"", 0x52d746b8) = 0x1000fca4ea0[p]:"" . bcatblk (0x1000fca4ea0:"", 0x52d746b8) = 0x1000fca4ea0:"" . bcatblk (0x1000fca4ea0[p]:"", 0x52d74570) = 0x1000fca4ea0[p]:"" . bcatblk (0x1000fca4ea0:"", 0x52d74570) = 0x1000fca4ea0:"bogus" . bcatblk (0x1000fca4ea0[p]:"bogus", 0x52d746b8) = 0x1000fca4ea0[p]:"bogus" . bcatblk (0x1000fca4ea0:"bogus", 0x52d746b8) = 0x1000fca4ea0:"bogus" . bcatblk (0x1000fca4ea0[p]:"bogus", 0x52d74570) = 0x1000fca4ea0[p]:"bogus" . bcatblk (0x1000fca4ea0:"bogus", 0x52d74570) = 0x1000fca4ea0:"bogusbogus" . bcatblk (0x1000fca4ea0[p]:"bogus", 0x52d74570) = 0x1000fca4ea0[p]:"bogus" . bcatblk (0x1000fca4ea0:"bogus", 0x52d74570) = 0x1000fca4ea0:"bogus" # failures: 0 TEST: int bfindreplace (bstring b, const_bstring f, const_bstring r, int pos); . bfindreplace (NULL, NULL, NULL, 0) = -1 . bfindreplace (0x52d902b0[c]:"bogus", NULL, 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplace (0x52d902b0[c]:"bogus", 0x3fffe1868448[c]:"s", NULL, 0) = -1 . bfindreplace (0x52d90200:[err:data=NULL], 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplace (0x52d90290:[err:slen=-5<0], 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplace (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x52d902b0[c]:"bogus", 0x3fffe1868428[c]:"funny", 0) = -1 . bfindreplace (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x52d902b0[c]:"bogus", 0x3fffe1868428[c]:"funny", 0) -> 0x1000fca4ea0:"This is a funny but reasonably long string. Just long enough to cause some mallocing." . bfindreplace (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplace (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) -> 0x1000fca4ea0:"Thiweird iweird a boguweird but reaweirdonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplace (0x1000fca4ea0[p]:"bogus", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplace (0x1000fca4ea0:"bogus", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) -> 0x1000fca4ea0:"boguweird" . bfindreplace (0x1000fca4ea0[p]:"bogus", 0x3fffe18684a8[c]:"S", 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplace (0x1000fca4ea0:"bogus", 0x3fffe18684a8[c]:"S", 0x3fffe1868438[c]:"weird", 0) -> 0x1000fca4ea0:"bogus" . bfindreplace (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 27) = -1 . bfindreplace (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 27) -> 0x1000fca4ea0:"This is a bogus but reasonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplace (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868458[c]:"long", 0x3fffe1868468[c]:"big", 0) = -1 . bfindreplace (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868458[c]:"long", 0x3fffe1868468[c]:"big", 0) -> 0x1000fca4ea0:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplace (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe18684b8[c]:"LONG", 0x3fffe1868468[c]:"big", 0) = -1 . bfindreplace (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe18684b8[c]:"LONG", 0x3fffe1868468[c]:"big", 0) -> 0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bfindreplace (0x1000fca4ea0[p]:"sstsst", 0x3fffe1868448[c]:"s", 0x3fffe1868478[c]:"ss", 0) = -1 . bfindreplace (0x1000fca4ea0:"sstsst", 0x3fffe1868448[c]:"s", 0x3fffe1868478[c]:"ss", 0) -> 0x1000fca4ea0:"sssstsssst" . bfindreplace (0x1000fca4ea0[p]:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x3fffe1868448[c]:"s", 0x3fffe1868478[c]:"ss", 0) = -1 . bfindreplace (0x1000fca4ea0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x3fffe1868448[c]:"s", 0x3fffe1868478[c]:"ss", 0) -> 0x1000fca4ea0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx" TEST: int bfindreplacecaseless (bstring b, const_bstring f, const_bstring r, int pos); . bfindreplacecaseless (NULL, NULL, NULL, 0) = -1 . bfindreplacecaseless (0x52d902b0[c]:"bogus", NULL, 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplacecaseless (0x52d902b0[c]:"bogus", 0x3fffe1868448[c]:"s", NULL, 0) = -1 . bfindreplacecaseless (0x52d90200:[err:data=NULL], 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplacecaseless (0x52d90290:[err:slen=-5<0], 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplacecaseless (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x52d902b0[c]:"bogus", 0x3fffe1868428[c]:"funny", 0) = -1 . bfindreplacecaseless (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x52d902b0[c]:"bogus", 0x3fffe1868428[c]:"funny", 0) -> 0x1000fca4ea0:"This is a funny but reasonably long string. Just long enough to cause some mallocing." . bfindreplacecaseless (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplacecaseless (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) -> 0x1000fca4ea0:"Thiweird iweird a boguweird but reaweirdonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplacecaseless (0x1000fca4ea0[p]:"bogus", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplacecaseless (0x1000fca4ea0:"bogus", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 0) -> 0x1000fca4ea0:"boguweird" . bfindreplacecaseless (0x1000fca4ea0[p]:"bogus", 0x3fffe18684a8[c]:"S", 0x3fffe1868438[c]:"weird", 0) = -1 . bfindreplacecaseless (0x1000fca4ea0:"bogus", 0x3fffe18684a8[c]:"S", 0x3fffe1868438[c]:"weird", 0) -> 0x1000fca4ea0:"boguweird" . bfindreplacecaseless (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 27) = -1 . bfindreplacecaseless (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868448[c]:"s", 0x3fffe1868438[c]:"weird", 27) -> 0x1000fca4ea0:"This is a bogus but reasonably long weirdtring. Juweirdt long enough to cauweirde weirdome mallocing." . bfindreplacecaseless (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868458[c]:"long", 0x3fffe1868468[c]:"big", 0) = -1 . bfindreplacecaseless (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe1868458[c]:"long", 0x3fffe1868468[c]:"big", 0) -> 0x1000fca4ea0:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplacecaseless (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe18684b8[c]:"LONG", 0x3fffe1868468[c]:"big", 0) = -1 . bfindreplacecaseless (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 0x3fffe18684b8[c]:"LONG", 0x3fffe1868468[c]:"big", 0) -> 0x1000fca4ea0:"This is a bogus but reasonably big string. Just big enough to cause some mallocing." . bfindreplacecaseless (0x1000fca4ea0[p]:"sstsst", 0x3fffe1868448[c]:"s", 0x3fffe1868478[c]:"ss", 0) = -1 . bfindreplacecaseless (0x1000fca4ea0:"sstsst", 0x3fffe1868448[c]:"s", 0x3fffe1868478[c]:"ss", 0) -> 0x1000fca4ea0:"sssstsssst" . bfindreplacecaseless (0x1000fca4ea0[p]:"sstsst", 0x3fffe18684a8[c]:"S", 0x3fffe1868478[c]:"ss", 0) = -1 . bfindreplacecaseless (0x1000fca4ea0:"sstsst", 0x3fffe18684a8[c]:"S", 0x3fffe1868478[c]:"ss", 0) -> 0x1000fca4ea0:"sssstsssst" . bfindreplacecaseless (0x1000fca4ea0[p]:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x3fffe1868448[c]:"s", 0x3fffe1868478[c]:"ss", 0) = -1 . bfindreplacecaseless (0x1000fca4ea0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx", 0x3fffe1868448[c]:"s", 0x3fffe1868478[c]:"ss", 0) -> 0x1000fca4ea0:"xxssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssxx" # failures: 0 TEST: int biseqcstr (const_bstring b, const char * s); . biseqcstr (NULL, (nil):<(null)>) = -1 . biseqcstr (0x52d902c0[c]:"", (nil):<(null)>) = -1 . biseqcstr (NULL, 0x52d746b8:<>) = -1 . biseqcstr (0x52d90200:[err:data=NULL], 0x52d746b8:<>) = -1 . biseqcstr (0x52d90290:[err:slen=-5<0], 0x52d74570:) = -1 . biseqcstr (0x52d902c0[c]:"", 0x52d746b8:<>) = 1 . biseqcstr (0x52d902b0[c]:"bogus", 0x52d74570:) = 1 . biseqcstr (0x52d902c0[c]:"", 0x52d74570:) = 0 . biseqcstr (0x52d902b0[c]:"bogus", 0x52d746b8:<>) = 0 . biseqcstr (0x1000fca4ea0:"bpgus", 0x52d74570:) = 0 TEST: int biseqcstrcaseless (const_bstring b, const char * s); . biseqcstrcaseless (NULL, (nil):<(null)>) = -1 . biseqcstrcaseless (0x52d902c0[c]:"", (nil):<(null)>) = -1 . biseqcstrcaseless (NULL, 0x52d746b8:<>) = -1 . biseqcstrcaseless (0x52d90200:[err:data=NULL], 0x52d746b8:<>) = -1 . biseqcstrcaseless (0x52d90290:[err:slen=-5<0], 0x52d74570:) = -1 . biseqcstrcaseless (0x52d902c0[c]:"", 0x52d746b8:<>) = 1 . biseqcstrcaseless (0x52d902b0[c]:"bogus", 0x52d74570:) = 1 . biseqcstrcaseless (0x52d902b0[c]:"bogus", 0x52d74ce0:) = 1 . biseqcstrcaseless (0x52d902c0[c]:"", 0x52d74570:) = 0 . biseqcstrcaseless (0x52d902b0[c]:"bogus", 0x52d746b8:<>) = 0 . biseqcstrcaseless (0x1000fca4ea0:"bpgus", 0x52d74570:) = 0 TEST: int btoupper (bstring b); . btoupper (NULL) = -1 . btoupper (0x52d90200:[err:data=NULL]) = -1 . btoupper (0x52d90290:[err:slen=-5<0]) = -1 . btoupper (0x1000fca4ea0[p]:"") = 0x1000fca4ea0[p]:"" . btoupper (0x1000fca4ea0:"") = 0x1000fca4ea0:"" . btoupper (0x1000fca4ea0[p]:"bogus") = 0x1000fca4ea0[p]:"bogus" . btoupper (0x1000fca4ea0:"bogus") = 0x1000fca4ea0:"BOGUS" . btoupper (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . btoupper (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1000fca4ea0:"THIS IS A BOGUS BUT REASONABLY LONG STRING. JUST LONG ENOUGH TO CAUSE SOME MALLOCING." TEST: int btolower (bstring b); . btolower (NULL) = -1 . btolower (0x52d90200:[err:data=NULL]) = -1 . btolower (0x52d90290:[err:slen=-5<0]) = -1 . btolower (0x1000fca4ea0[p]:"") = 0x1000fca4ea0[p]:"" . btolower (0x1000fca4ea0:"") = 0x1000fca4ea0:"" . btolower (0x1000fca4ea0[p]:"bogus") = 0x1000fca4ea0[p]:"bogus" . btolower (0x1000fca4ea0:"bogus") = 0x1000fca4ea0:"bogus" . btolower (0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1000fca4ea0[p]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . btolower (0x1000fca4ea0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0x1000fca4ea0:"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 (0x52d902c0[c]:"", NULL) = -32768 . bstricmp (NULL, 0x52d902c0[c]:"") = -32768 . bstricmp (0x52d902c0[c]:"", 0x52d90200:[err:data=NULL]) = -32768 . bstricmp (0x52d90200:[err:data=NULL], 0x52d902c0[c]:"") = -32768 . bstricmp (0x52d902b0[c]:"bogus", 0x52d90290:[err:slen=-5<0]) = -32768 . bstricmp (0x52d90290:[err:slen=-5<0], 0x52d902b0[c]:"bogus") = -32768 . bstricmp (0x52d902c0[c]:"", 0x52d902c0[c]:"") = 0 . bstricmp (0x52d902b0[c]:"bogus", 0x3fffe1868638[c]:"bOgUs") = 0 . bstricmp (0x52d902b0[c]:"bogus", 0x3fffe1868648[c]:"bOgUR") = 1 . bstricmp (0x52d902b0[c]:"bogus", 0x3fffe1868658[c]:"bOgUt") = -1 . bstricmp (0x52d902b0[c]:"bogus", 0x3fffe1868638[c]:"bOgUs") = -256 . bstricmp (0x3fffe1868638[c]:"bOgUs", 0x52d902b0[c]:"bogus") = 256 TEST: int bstrnicmp (const_bstring b0, const_bstring b1); . bstrnicmp (NULL, NULL, 0) = -32768 . bstrnicmp (0x52d902c0[c]:"", NULL, 0) = -32768 . bstrnicmp (NULL, 0x52d902c0[c]:"", 0) = -32768 . bstrnicmp (0x52d902c0[c]:"", 0x52d90200:[err:data=NULL], 0) = -32768 . bstrnicmp (0x52d90200:[err:data=NULL], 0x52d902c0[c]:"", 0) = -32768 . bstrnicmp (0x52d902b0[c]:"bogus", 0x52d90290:[err:slen=-5<0], 5) = -32768 . bstrnicmp (0x52d90290:[err:slen=-5<0], 0x52d902b0[c]:"bogus", 5) = -32768 . bstrnicmp (0x52d902c0[c]:"", 0x52d902c0[c]:"", 0) = 0 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe18684e8[c]:"bOgUs", 0) = 0 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe18684e8[c]:"bOgUs", 5) = 0 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe18684e8[c]:"bOgUs", 4) = 0 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe18684e8[c]:"bOgUs", 6) = 0 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe18684f8[c]:"bOgUR", 5) = 33 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe18684f8[c]:"bOgUR", 4) = 0 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe18684f8[c]:"bOgUR", 6) = 33 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe1868508[c]:"bOgUt", 5) = -1 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe1868508[c]:"bOgUt", 4) = 0 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe1868508[c]:"bOgUt", 6) = -1 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe18684e8[c]:"bOgUs", 5) = 0 . bstrnicmp (0x52d902b0[c]:"bogus", 0x3fffe18684e8[c]:"bOgUs", 6) = -256 . bstrnicmp (0x3fffe18684e8[c]:"bOgUs", 0x52d902b0[c]:"bogus", 6) = 256 TEST: int biseqcaseless (const_bstring b0, const_bstring b1); . biseqcaseless (NULL, NULL) = -1 . biseqcaseless (0x52d902c0[c]:"", NULL) = -1 . biseqcaseless (NULL, 0x52d902c0[c]:"") = -1 . biseqcaseless (0x52d902c0[c]:"", 0x52d90200:[err:data=NULL]) = -1 . biseqcaseless (0x52d90200:[err:data=NULL], 0x52d902c0[c]:"") = -1 . biseqcaseless (0x52d902b0[c]:"bogus", 0x52d90290:[err:slen=-5<0]) = -1 . biseqcaseless (0x52d90290:[err:slen=-5<0], 0x52d902b0[c]:"bogus") = -1 . biseqcaseless (0x52d902c0[c]:"", 0x52d902c0[c]:"") = 1 . biseqcaseless (0x52d902b0[c]:"bogus", 0x3fffe1868638[c]:"bOgUs") = 1 . biseqcaseless (0x52d902b0[c]:"bogus", 0x3fffe1868648[c]:"bOgUR") = 0 . biseqcaseless (0x52d902b0[c]:"bogus", 0x3fffe1868658[c]:"bOgUt") = 0 TEST: bgets/breads test TEST: trim functions . bltrim (0x3fffe1868608[c]:" bogus string ") = 0x1000fca4de0:"bogus string " . brtrim (0x3fffe1868608[c]:" bogus string ") = 0x1000fca4de0:" bogus string" . btrim (0x3fffe1868608[c]:" bogus string ") = 0x1000fca4de0:"bogus string" . bltrim (0x3fffe1868618[c]:"bogus string ") = 0x1000fca4de0:"bogus string " . brtrim (0x3fffe1868618[c]:"bogus string ") = 0x1000fca4de0:"bogus string" . btrim (0x3fffe1868618[c]:"bogus string ") = 0x1000fca4de0:"bogus string" . bltrim (0x3fffe1868628[c]:" bogus string") = 0x1000fca4de0:"bogus string" . brtrim (0x3fffe1868628[c]:" bogus string") = 0x1000fca4de0:" bogus string" . btrim (0x3fffe1868628[c]:" bogus string") = 0x1000fca4de0:"bogus string" . bltrim (0x3fffe1868638[c]:"bogus string") = 0x1000fca4de0:"bogus string" . brtrim (0x3fffe1868638[c]:"bogus string") = 0x1000fca4de0:"bogus string" . btrim (0x3fffe1868638[c]:"bogus string") = 0x1000fca4de0:"bogus string" . bltrim (0x3fffe1868648[c]:" ") = 0x1000fca4de0:"" . brtrim (0x3fffe1868648[c]:" ") = 0x1000fca4de0:"" . btrim (0x3fffe1868648[c]:" ") = 0x1000fca4de0:"" . bltrim (0x3fffe1868658[c]:"") = 0x1000fca4de0:"" . brtrim (0x3fffe1868658[c]:"") = 0x1000fca4de0:"" . btrim (0x3fffe1868658[c]:"") = 0x1000fca4de0:"" TEST: int bassignmidstr (bstring b0, const_bstring b1, int left, int len); . bassignmidstr (NULL, NULL, 0, 1) = -1 . bassignmidstr (NULL, 0x52d902c0[c]:"", 0, 1) = -1 . bassignmidstr (0x52d902c0[c]:"", NULL, 0, 1) = -1 . bassignmidstr (0x52d90200:[err:data=NULL], 0x52d902c0[c]:"", 0, 1) = -1 . bassignmidstr (0x52d90290:[err:slen=-5<0], 0x52d902c0[c]:"", 0, 1) = -1 . bassignmidstr (0x52d902c0[c]:"", 0x52d90200:[err:data=NULL], 0, 1) = -1 . bassignmidstr (0x52d902c0[c]:"", 0x52d90290:[err:slen=-5<0], 0, 1) = -1 . bassignmidstr (0x1000fca4de0[p]:"", 0x52d902c0[c]:"", 0, 1) = 0x1000fca4de0[p]:"" . bassignmidstr (0x1000fca4de0:"", 0x52d902c0[c]:"", 0, 1) = 0x1000fca4de0:"" . bassignmidstr (0x1000fca4de0[p]:"", 0x52d902b0[c]:"bogus", 1, 3) = 0x1000fca4de0[p]:"" . bassignmidstr (0x1000fca4de0:"", 0x52d902b0[c]:"bogus", 1, 3) = 0x1000fca4de0:"ogu" . bassignmidstr (0x1000fca4de0[p]:"bogus", 0x52d902c0[c]:"", 0, 1) = 0x1000fca4de0[p]:"bogus" . bassignmidstr (0x1000fca4de0:"bogus", 0x52d902c0[c]:"", 0, 1) = 0x1000fca4de0:"" . bassignmidstr (0x1000fca4de0[p]:"bogus", 0x52d902b0[c]:"bogus", 1, 3) = 0x1000fca4de0[p]:"bogus" . bassignmidstr (0x1000fca4de0:"bogus", 0x52d902b0[c]:"bogus", 1, 3) = 0x1000fca4de0:"ogu" . bassignmidstr (0x1000fca4de0[p]:"bogus", 0x52d902b0[c]:"bogus", -1, 4) = 0x1000fca4de0[p]:"bogus" . bassignmidstr (0x1000fca4de0:"bogus", 0x52d902b0[c]:"bogus", -1, 4) = 0x1000fca4de0:"bog" . bassignmidstr (0x1000fca4de0[p]:"bogus", 0x52d902b0[c]:"bogus", 1, 9) = 0x1000fca4de0[p]:"bogus" . bassignmidstr (0x1000fca4de0:"bogus", 0x52d902b0[c]:"bogus", 1, 9) = 0x1000fca4de0:"ogus" . bassignmidstr (0x1000fca4de0[p]:"bogus", 0x52d902b0[c]:"bogus", 9, 1) = 0x1000fca4de0[p]:"bogus" . bassignmidstr (0x1000fca4de0:"bogus", 0x52d902b0[c]:"bogus", 9, 1) = 0x1000fca4de0:"" # failures: 0 TEST: int bmid2tbstr (struct tagbstring &t, const_bstring b1, int left, int len); . bmid2tbstr (NULL, 0, 1) = 0x1000fca4de0:"" . bmid2tbstr (0x52d902c0[c]:"", 0, 1) = 0x1000fca4d80:"" . bmid2tbstr (NULL, 0, 1) = 0x1000fca4d80:"" . bmid2tbstr (0x52d902c0[c]:"", 0, 1) = 0x1000fca4de0:"" . bmid2tbstr (0x52d902c0[c]:"", 0, 1) = 0x1000fca4d80:"" . bmid2tbstr (0x52d90200:[err:data=NULL], 0, 1) = 0x1000fca4d80:"" . bmid2tbstr (0x52d90290:[err:slen=-5<0], 0, 1) = 0x1000fca4d80:"" . bmid2tbstr (0x52d902c0[c]:"", 0, 1) = 0x1000fca4de0:"" . bmid2tbstr (0x52d902b0[c]:"bogus", 1, 3) = 0x1000fca4d80:"ogu" . bmid2tbstr (0x52d902c0[c]:"", 0, 1) = 0x1000fca4de0:"" . bmid2tbstr (0x52d902b0[c]:"bogus", 1, 3) = 0x1000fca4d80:"ogu" . bmid2tbstr (0x52d902b0[c]:"bogus", -1, 4) = 0x1000fca4de0:"bog" . bmid2tbstr (0x52d902b0[c]:"bogus", 1, 9) = 0x1000fca4d80:"ogus" . bmid2tbstr (0x52d902b0[c]:"bogus", 9, 1) = 0x1000fca4de0:"" # failures: 0 TEST: int btrunc (bstring b, int n); . btrunc (0x52d902c0[c]:"", 10) = 0x1000fca4de0:"" . btrunc (0x52d902c0[c]:"", 0) = 0x1000fca4de0:"" . btrunc (0x52d902c0[c]:"", -1) = 0x1000fca4de0:"" . btrunc (0x52d902b0[c]:"bogus", 10) = 0x1000fca4de0:"bogus" . btrunc (0x52d902b0[c]:"bogus", 3) = 0x1000fca4de0:"bog" . btrunc (0x52d902b0[c]:"bogus", 0) = 0x1000fca4de0:"" . btrunc (0x52d902b0[c]:"bogus", -1) = 0x1000fca4de0:"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 = 0x1000fca4de0:"", NULL) = -1; b -> 0x1000fca4de0:"" . bassigncstr (b = 0x1000fca4de0:"", "") = 0; b -> 0x1000fca4de0:"" . bassigncstr (b = 0x1000fca4de0[p]:"xxxxx", "") = -1; b -> 0x1000fca4de0[p]:"xxxxx" . bassigncstr (a = 0x52d902b0[c]:"bogus", "") = -1; a -> 0x52d902b0[c]:"bogus" . bassigncstr (b = 0x1000fca4de0:"", "bogus") = 0; b -> 0x1000fca4de0:"bogus" . bassigncstr (b = 0x1000fca4de0[p]:"xxxxx", "bogus") = -1; b -> 0x1000fca4de0[p]:"xxxxx" . bassigncstr (a = 0x52d902b0[c]:"bogus", "bogus") = -1; a -> 0x52d902b0[c]:"bogus" . bassigncstr (b = 0x1000fca4de0:"", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0; b -> 0x1000fca4de0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bassigncstr (b = 0x1000fca4de0[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = -1; b -> 0x1000fca4de0[p]:"xxxxx" . bassigncstr (a = 0x52d902b0[c]:"bogus", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = -1; a -> 0x52d902b0[c]:"bogus" # failures: 0 TEST: int bassignblk (bstring a, const void * s, int len); . bassignblk (b = 0x1000fca4de0:"", NULL, 1) = -1; b -> 0x1000fca4de0:"" . bassignblk (b = 0x1000fca4de0:"", "", 0) = 0; b -> 0x1000fca4de0:"" . bassignblk (b = 0x1000fca4de0[p]:"xxxxx", "", 0) = -1; b -> 0x1000fca4de0[p]:"xxxxx" . bassignblk (a = 0x52d902b0[c]:"bogus", "", 0) = -1; a -> 0x52d902b0[c]:"bogus" . bassignblk (b = 0x1000fca4de0:"", "bogus", 5) = 0; b -> 0x1000fca4de0:"bogus" . bassignblk (b = 0x1000fca4de0[p]:"xxxxx", "bogus", 5) = -1; b -> 0x1000fca4de0[p]:"xxxxx" . bassignblk (a = 0x52d902b0[c]:"bogus", "bogus", 5) = -1; a -> 0x52d902b0[c]:"bogus" . bassignblk (b = 0x1000fca4de0:"", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = 0; b -> 0x1000fca4de0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." . bassignblk (b = 0x1000fca4de0[p]:"xxxxx", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = -1; b -> 0x1000fca4de0[p]:"xxxxx" . bassignblk (a = 0x52d902b0[c]:"bogus", "This is a bogus but reasonably long string. Just long enough to cause some mallocing.", 86) = -1; a -> 0x52d902b0[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 (0x52d902b0[c]:"bogus", 8, "[%d]", ...) -> -1, 0x52d902b0[c]:"bogus" (NULL) . bvcformata (0x52d90200:[err:data=NULL], 8, "[%d]", ...) -> -1, 0x52d90200:[err:data=NULL] (NULL) . bvcformata (0x52d90290:[err:slen=-5<0], 8, "[%d]", ...) -> -1, 0x52d90290:[err:slen=-5<0] (NULL) . bvcformata (0x52d90280:[err:mlen=2 -1, 0x52d90280:[err:mlen=2 0, 0x1000fca4de0:"bogus" (0x52d902b0[c]:"bogus") . bvcformata (0x1000fca4de0:"bogus", 6, "%s", ...) -> 0, 0x1000fca4de0:"bogus" (0x52d902b0[c]:"bogus") . bvcformata (0x1000fca4de0:"bogus", 4, "%s", ...) -> -8, 0x1000fca4de0:"" (NULL) TEST: bvformata (int &ret, bstring b, const char * fmt, lastarg); . bvformata (&, NULL, "[%d]", ...) -> -1, NULL (NULL) . bvformata (&, 0x52d902b0[c]:"bogus", "[%d]", ...) -> -1, 0x52d902b0[c]:"bogus" (NULL) . bvformata (&, 0x52d90200:[err:data=NULL], "[%d]", ...) -> -1, 0x52d90200:[err:data=NULL] (NULL) . bvformata (&, 0x52d90290:[err:slen=-5<0], "[%d]", ...) -> -1, 0x52d90290:[err:slen=-5<0] (NULL) . bvformata (&, 0x52d90280:[err:mlen=2 -1, 0x52d90280:[err:mlen=2 0, 0x1000fca4de0:"bogus" (0x52d902b0[c]:"bogus") . bvformata (&, 0x1000fca4de0:"bogus", "%s", ...) -> 0, 0x1000fca4de0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing." (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.") . bvformata (&, 0x1000fca4de0:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", "%s%s%s%s%s%s%s%s", ...) -> 0, 0x1000fca4de0:"WaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterloo" (0x1000fca4d80:"WaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterlooWaterloo") # failures: 0 TEST: int biseqblk (const_bstring b, const void * blk, int len); . biseqblk (NULL, NULL) = -1 . biseqblk (0x52d902c0[c]:"", NULL) = -1 . biseqblk (NULL, cstr[0x52d746b8] -> "") = -1 . biseqblk (0x52d902b0[c]:"bogus", NULL) = -1 . biseqblk (NULL, cstr[0x52d74570] -> "bogus") = -1 . biseqblk (0x52d90200:[err:data=NULL], NULL) = -1 . biseqblk (0x52d90290:[err:slen=-5<0], cstr[0x52d74570] -> "bogus") = -1 . biseqblk (0x52d902b0[c]:"bogus", cstr[0x52d74570] -> "bogus") = -1 . biseqblk (0x52d90290:[err:slen=-5<0], cstr[0x52d74570] -> "bogus") = -1 . biseqblk (0x52d902c0[c]:"", cstr[0x52d746b8] -> "") = 1 . biseqblk (0x52d902b0[c]:"bogus", cstr[0x52d746b8] -> "") = 0 . biseqblk (0x52d902c0[c]:"", cstr[0x52d74570] -> "bogus") = 0 . biseqblk (0x52d902b0[c]:"bogus", cstr[0x52d74570] -> "bogus") = 1 . biseqblk (0x1000fca4de0:"bpgus", cstr[0x52d74570] -> "bogus") = 0 . biseqblk (0x52d902b0[c]:"bogus", cstr[0x52d74ad0] -> "This is a bogus but reasonably long string. Just long enough to cause some mallocing.") = 0 . biseqblk (0x52d902a0[c]:"This is a bogus but reasonably long string. Just long enough to cause some mallocing.", cstr[0x52d74570] -> "bogus") = 0 # failures: 0 TEST: int biseqcaselessblk (const_bstring b, const void * blk, int len); . biseqcaselessblk (NULL, NULL, 0) = -1 . biseqcaselessblk (0x52d902c0[c]:"", NULL, 0) = -1 . biseqcaselessblk (NULL, cstr[0x52d746b8] -> "", 0) = -1 . biseqcaselessblk (0x52d902c0[c]:"", NULL, 0) = -1 . biseqcaselessblk (0x52d90200:[err:data=NULL], cstr[0x52d746b8] -> "", 4) = -1 . biseqcaselessblk (0x52d902b0[c]:"bogus", cstr[0x52d74570] -> "bogus", -5) = -1 . biseqcaselessblk (0x52d90290:[err:slen=-5<0], cstr[0x52d74570] -> "bogus", -5) = -1 . biseqcaselessblk (0x52d902c0[c]:"", cstr[0x52d746b8] -> "", 0) = 1 . biseqcaselessblk (0x52d902b0[c]:"bogus", cstr[0x52d761a8] -> "bOgUs", 5) = 1 . biseqcaselessblk (0x52d902b0[c]:"bogus", cstr[0x52d761b0] -> "bOgUR", 5) = 0 . biseqcaselessblk (0x52d902b0[c]:"bogus", cstr[0x52d761b8] -> "bOgUt", 5) = 0 # test failures: 0 gcc -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fPIC -I. -c -o testaux.o testaux.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -Wall -o testaux -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64 -lbstr testaux.o -I/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/include/bstrlib/ LD_PRELOAD=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64/libbstr.so.1.0.0 ./testaux Direct case testing of bstraux functions TEST: struct bwriteStream functions. # failures: 0 TEST: bTail and bHead functions. # failures: 0 TEST: bSetChar function. # failures: 0 TEST: bSetCstrChar function. # failures: 0 TEST: bFill function. # failures: 0 TEST: bReplicate function. # failures: 0 TEST: bReverse function. # failures: 0 TEST: bInsertChrs function. # failures: 0 TEST: bJustify functions. # failures: 0 TEST: NetStr functions. # failures: 0 TEST: Base 64 codec. # failures: 0 TEST: UU codec. # failures: 0 TEST: Y codec. # failures: 0 TEST: bsFromBstr. # failures: 0 TEST: bSecureInput, bSecureDestroy. # failures: 0 TEST: bSGMLEncode. # failures: 0 # test failures: 0 g++ -pedantic -ansi -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fPIC -I. -c -o test.o test.cpp test.cpp:1617:26: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define bMultiConcat(dst,...) bMultiConcatNeedNULLAsLastArgument((dst),##__VA_ARGS__,NULL) ^~~ test.cpp:1618:27: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define bMultiCatCstr(dst,...) bMultiCatCstrNeedNULLAsLastArgument((dst),##__VA_ARGS__,NULL) ^~~ test.cpp:1629:22: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define bDeclTbstr(t,...) \ ^~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -Wall -Wno-variadic-macros -o testwrap -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64 -lbstrc++ -lbstr test.o -I/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/include/bstrlib/ LD_PRELOAD=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64/libbstr.so.1.0.0:/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/lib64/libbstrc++.so.1.0.0 ./testwrap Direct case testing of CPP core functions TEST: CBString constructor CBString c; CBString c("test"); CBString c(25, "test"); CBString c('t'); CBString c('\0'); CBString c(bstr["test"]); CBString c(CBstr["test"]); CBString c('x',5); CBString c("123456",4); # failures: 0 TEST: CBString = operator c = 'x'; c = (unsigned char)'x'; c = "test"; c = CBStr["test"]; c = tbstr["test"]; # failures: 0 TEST: CBString += operator c += 'x'; c += (unsigned char)'x'; c += "test"; c += CBStr["test"]; c += tbstr["test"]; # failures: 0 TEST: CBString + operator c + 'x'; c + (unsigned char)'x'; c + "test"; c + (unsigned char *) "test"; c + CBStr["test"]; c + tbstr["test"]; TEST: + CBString operator 'x' + c; (unsigned char)'y' + c; "test" + c; (unsigned char *) "test" + c; tbstr["extra"] + c; # failures: 0 TEST: CBString == operator c == d; c == "test"; c == (unsigned char *) "test"; # failures: 0 TEST: CBString != operator c != d; c != "test"; c != (unsigned char *) "test"; # failures: 0 TEST: CBString <, <= operators c < d; c <= d; c < "test"; c <= "test"; c < (unsigned char *) "test"; c <= (unsigned char *) "test"; # failures: 0 TEST: CBString >, >= operators c >= d; c > d; c >= "test"; c > "test"; c >= (unsigned char *) "test"; c > (unsigned char *) "test"; # failures: 0 TEST: (const char *) CBString operator (const char *) CBString (const unsigned char *) CBString # failures: 0 TEST: (double), (float), (int) CBString operators (double) "1.2e3" (float) "1.2e3" (int) "100" (int) "100.55" (unsigned int) "100.55" (double) "xxxxx" Exception (CBString::Unable to convert to a double) correctly thrown (float) "xxxxx" Exception (CBString::Unable to convert to a float) correctly thrown (int) "xxxxx" Exception (CBString::Unable to convert to an int) correctly thrown (unsigned int) "xxxxx" Exception (CBString::Unable to convert to an unsigned int) correctly thrown # failures: 0 TEST: length() method "".length(); "Test".length(); # failures: 0 TEST: character() method, [] operator "Test".character (); "Text"[]; "".character (); Exception (CBString::character index out of bounds) correctly thrown ""[]; Exception (CBString::character index out of bounds) correctly thrown # failures: 0 TEST: format(), formata() methods c.format (...); "Test".formata (...); # failures: 0 TEST: find() method "".find (CBString()); "".find (char *); "".find (char); TEST: reversefind () method "".reversefind (CBString()); "".reversefind (char *); "".reversefind (char); # failures: 0 TEST: findchr(), reversefindchr() methods "".findchr (CBString("abcdef")); "Test".findchr (CBString("abcdef")); "".findchr ("abcdef"); "Test".findchr ("abcdef"); "".reversefindchr (CBString("abcdef")); "Test".reversefindchr (CBString("abcdef")); "".reversefindchr ("abcdef"); "Test".reversefindchr ("abcdef"); # failures: 0 TEST: nfindchr(), nreversefindchr() methods "".nfindchr (CBString("abcdef")); "Test".nfindchr (CBString("abcdef")); "".nfindchr ("abcdef"); "Test".nfindchr ("abcdef"); "".nreversefindchr (CBString("abcdef")); "Test".nreversefindchr (CBString("abcdef")); "".nreversefindchr ("abcdef"); "Test".nreversefindchr ("abcdef"); # failures: 0 TEST: midstr() method "".midstr (1,3) "bogus".midstr (1,3) # failures: 0 TEST: fill() method "".fill(5,'x') "Test-test".fill(5,'x') # failures: 0 TEST: alloc() method "".alloc(5) "Test-test".alloc(5) "".alloc(0) Exception (CBString::Failure in alloc) properly thrown "".alloc(-1) Exception (CBString::Failure in alloc) properly thrown # failures: 0 TEST: setsubstr() method "".setsubstr (4,"extra") "Test-test".setsubstr (4,"extra") "".setsubstr(-1,"extra") Exception (CBString::Failure in setsubstr) properly thrown # failures: 0 TEST: insert() method "".insert (4,"extra") "Test-test".insert (4,"extra") "".insert(-1,"extra") Exception (CBString::Failure in insert) properly thrown # failures: 0 TEST: insertchrs() method "".insertchrs (4,2,'x') "Test-test".insertchrs (4,2,'x') "".insertchrs (-1,2,'x') Exception (CBString::Failure in insertchrs) properly thrown # failures: 0 TEST: replace() method "".replace (4,2,"beef") "Test-test".replace (4,2,"beef") # failures: 0 TEST: findreplace() method "".findreplace ("est","beef") "Test-test".findreplace ("est","beef") "".findreplacecaseless ("est","beef") "TeSt-tEsT".findreplacecaseless ("est","beef") # failures: 0 TEST: remove() method "".remove (4,2) "Test-test".remove (4,2) # failures: 0 TEST: trunc() method "".trunc (4) "Test-test".trunc (4) # failures: 0 TEST: repeat() method "".repeat (4) "Test".repeat (4) # failures: 0 TEST: ltrim(), rtrim() methods "".ltrim () " Test ".ltrim () " ".ltrim () # failures: 0 TEST: split(), join() mechanisms "a b c d e f".split (' ') c.join (<...>) # failures: 0 TEST: caselessEqual(), caselessCmp() mechanisms "Test".caselessEqual ("test") "Test".caselessEqual ("testy") "Test".caselessCmp ("test") "Test".caselessCmp ("testy") # failures: 0 TEST: toupper(), tolower() mechanisms "Test".toupper () "Test".tolower () # failures: 0 TEST: CBStream test "Test" through CBStream.read() "Test" through CBStream.>> TEST: bMultiCatCstr, bMultiConcat # failures: 0 TEST: bDeclTbstr # failures: 0 # test failures: 0 + exit 0 Processing files: bstrlib-1.0.0-2.fc28.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SIJdeX + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/doc/bstrlib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/doc/bstrlib + cp -pr README.md /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/doc/bstrlib + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xahxpN + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/licenses/bstrlib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/licenses/bstrlib + cp -pr LICENSE /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/licenses/bstrlib + cp -pr gpl.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/licenses/bstrlib + exit 0 Provides: bstrlib = 1.0.0-2.fc28 bstrlib(ppc-64) = 1.0.0-2.fc28 libbstr.so.1()(64bit) libbstrc++.so.1()(64bit) libbstrsafe.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libbstr.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.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-2.fc28.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7UtpCD + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/doc/bstrlib-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/doc/bstrlib-devel + cp -pr porting.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/doc/bstrlib-devel + cp -pr bstrlib.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/doc/bstrlib-devel + cp -pr security.txt /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le/usr/share/doc/bstrlib-devel + exit 0 Provides: bstrlib-devel = 1.0.0-2.fc28 bstrlib-devel(ppc-64) = 1.0.0-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbstr.so.1()(64bit) libbstrc++.so.1()(64bit) libbstrsafe.so.1()(64bit) Processing files: bstrlib-debugsource-1.0.0-2.fc28.ppc64le Provides: bstrlib-debugsource = 1.0.0-2.fc28 bstrlib-debugsource(ppc-64) = 1.0.0-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bstrlib-debuginfo-1.0.0-2.fc28.ppc64le Provides: bstrlib-debuginfo = 1.0.0-2.fc28 bstrlib-debuginfo(ppc-64) = 1.0.0-2.fc28 debuginfo(build-id) = 020944b5a412a3c477a2dd3fce42e12a3bbc2e43 debuginfo(build-id) = 13a5bb589f668e3a04584828fc2cdc2da27a3167 debuginfo(build-id) = bba94bb6fb822c71bf2b388e66c031e96b2f006a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bstrlib-debugsource(ppc-64) = 1.0.0-2.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le Wrote: /builddir/build/RPMS/bstrlib-1.0.0-2.fc28.ppc64le.rpm Wrote: /builddir/build/RPMS/bstrlib-devel-1.0.0-2.fc28.ppc64le.rpm Wrote: /builddir/build/RPMS/bstrlib-debugsource-1.0.0-2.fc28.ppc64le.rpm Wrote: /builddir/build/RPMS/bstrlib-debuginfo-1.0.0-2.fc28.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mkqHXt + umask 022 + cd /builddir/build/BUILD + cd bstrlib-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bstrlib-1.0.0-2.fc28.ppc64le + exit 0 Finish: rpmbuild bstrlib-1.0.0-2.fc28.src.rpm Finish: build phase for bstrlib-1.0.0-2.fc28.src.rpm INFO: Done(/var/lib/copr-rpmbuild/results/bstrlib-1.0.0-2.fc28.src.rpm) Config(child) 0 minutes 38 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