Date: Tue, 9 Feb 2021 21:26:54 GMT From: Stefan Eßer <se@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org Subject: git: c41fef90a7d0 - releng/13.0 - bc: Correct mis-merge of contrib/bc on upgrade to version 3.2.6 Message-ID: <202102092126.119LQsja020160@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch releng/13.0 has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=c41fef90a7d06d7a363d1085a53205ba147cd518 commit c41fef90a7d06d7a363d1085a53205ba147cd518 Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2021-02-05 19:53:34 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2021-02-09 21:24:12 +0000 bc: Correct mis-merge of contrib/bc on upgrade to version 3.2.6 Revert "bc: Vendor import of Gavin Howard's bc version 3.2.6" This reverts commit 601ac82194693fcae9d7d2a7ec7d66ebaf3fd61e. Vendor import of Gavin Howard's bc version 3.2.6 (cherry picked from commit 47a52dc4d48f259ab7d9f9ba6b65f4f2331a22dc) The files README.md and .gitignore had been lost and are restored by this commit. A lot of files used for fuzzing had been moved to a new place and still existed in their previous location. Delete the now obsolete files from the old location. Approved by: re --- .gitignore | 27 ++ README.md | 82 +++++ contrib/bc/tests/diff.sh | 0 contrib/bc/tests/fuzzing/bc_inputs1/array.bc | 0 contrib/bc/tests/fuzzing/bc_inputs2/references.bc | 0 contrib/bc/tests/fuzzing/dc_inputs/stream.dc | 0 contrib/bc/tests/other.sh | 0 tests/dc/errors/30.txt | 1 - tests/dc/errors/31.txt | 1 - tests/dc/scripts/all.txt | 9 - tests/diff.sh | 51 --- tests/extra_required.txt | 7 - tests/fuzzing/bc.dict | 68 ---- tests/fuzzing/bc_inputs1/abs.txt | 7 - tests/fuzzing/bc_inputs1/add.txt | 146 -------- tests/fuzzing/bc_inputs1/arctangent.txt | 26 -- tests/fuzzing/bc_inputs1/array.bc | 60 ---- tests/fuzzing/bc_inputs1/arrays.txt | 10 - tests/fuzzing/bc_inputs1/assignments.txt | 122 ------- tests/fuzzing/bc_inputs1/basic.txt | 7 - tests/fuzzing/bc_inputs1/boolean.txt | 184 ---------- tests/fuzzing/bc_inputs1/cosine.txt | 44 --- tests/fuzzing/bc_inputs1/decimal.txt | 35 -- tests/fuzzing/bc_inputs1/divide.txt | 31 -- tests/fuzzing/bc_inputs1/engineering.txt | 19 - tests/fuzzing/bc_inputs1/exponent.txt | 22 -- tests/fuzzing/bc_inputs1/functions.bc | 7 - tests/fuzzing/bc_inputs1/functions.txt | 13 - tests/fuzzing/bc_inputs1/globals.txt | 21 -- tests/fuzzing/bc_inputs1/len.bc | 48 --- tests/fuzzing/bc_inputs1/length.txt | 59 ---- tests/fuzzing/bc_inputs1/lib10.txt | 4 - tests/fuzzing/bc_inputs1/lib11.txt | 4 - tests/fuzzing/bc_inputs1/lib12.txt | 1 - tests/fuzzing/bc_inputs1/lib2.txt | 15 - tests/fuzzing/bc_inputs1/lib3.txt | 6 - tests/fuzzing/bc_inputs1/lib4.txt | 10 - tests/fuzzing/bc_inputs1/lib5.txt | 2 - tests/fuzzing/bc_inputs1/lib6.txt | 5 - tests/fuzzing/bc_inputs1/lib7.txt | 12 - tests/fuzzing/bc_inputs1/lib8.txt | 3 - tests/fuzzing/bc_inputs2/lib13.txt | 1 - tests/fuzzing/bc_inputs2/lib14.txt | 1 - tests/fuzzing/bc_inputs2/lib15.txt | 1 - tests/fuzzing/bc_inputs2/lib16.txt | 1 - tests/fuzzing/bc_inputs2/lib19.txt | 1 - tests/fuzzing/bc_inputs2/lib20.txt | 1 - tests/fuzzing/bc_inputs2/lib21.txt | 1 - tests/fuzzing/bc_inputs2/lib22.txt | 1 - tests/fuzzing/bc_inputs2/lib23.txt | 1 - tests/fuzzing/bc_inputs2/lib24.txt | 1 - tests/fuzzing/bc_inputs2/log.txt | 22 -- tests/fuzzing/bc_inputs2/misc.txt | 13 - tests/fuzzing/bc_inputs2/misc1.txt | 76 ---- tests/fuzzing/bc_inputs2/misc2.txt | 110 ------ tests/fuzzing/bc_inputs2/misc3.txt | 12 - tests/fuzzing/bc_inputs2/modulus.txt | 69 ---- tests/fuzzing/bc_inputs2/multiply.txt | 40 --- tests/fuzzing/bc_inputs2/pi.txt | 4 - tests/fuzzing/bc_inputs2/places.txt | 19 - tests/fuzzing/bc_inputs2/power.txt | 44 --- tests/fuzzing/bc_inputs2/print2.txt | 194 ---------- tests/fuzzing/bc_inputs2/references.bc | 408 ---------------------- tests/fuzzing/bc_inputs2/scale.txt | 57 --- tests/fuzzing/bc_inputs2/scientific.txt | 51 --- tests/fuzzing/bc_inputs2/shift.txt | 281 --------------- tests/fuzzing/bc_inputs2/sine.txt | 207 ----------- tests/fuzzing/bc_inputs3/01.txt | 339 ------------------ tests/fuzzing/bc_inputs3/02.txt | 1 - tests/fuzzing/bc_inputs3/03.txt | 2 - tests/fuzzing/bc_inputs3/04.txt | 1 - tests/fuzzing/bc_inputs3/05.txt | 1 - tests/fuzzing/bc_inputs3/06.txt | 1 - tests/fuzzing/bc_inputs3/07.txt | 8 - tests/fuzzing/bc_inputs3/08.txt | 3 - tests/fuzzing/bc_inputs3/09.txt | 11 - tests/fuzzing/bc_inputs3/10.txt | 1 - tests/fuzzing/bc_inputs3/11.txt | 99 ------ tests/fuzzing/bc_inputs3/12.txt | 2 - tests/fuzzing/bc_inputs3/13.txt | 56 --- tests/fuzzing/bc_inputs3/14.txt | 1 - tests/fuzzing/bc_inputs3/15.txt | 3 - tests/fuzzing/bc_inputs3/16.txt | 1 - tests/fuzzing/bc_inputs3/17.txt | 11 - tests/fuzzing/bc_inputs3/18.txt | 3 - tests/fuzzing/bc_inputs3/19.txt | 5 - tests/fuzzing/bc_inputs3/20.txt | 51 --- tests/fuzzing/bc_inputs3/21.txt | 10 - tests/fuzzing/bc_inputs3/22.txt | 2 - tests/fuzzing/bc_inputs3/23.txt | Bin 1024 -> 0 bytes tests/fuzzing/bc_inputs3/24.txt | 4 - tests/fuzzing/bc_inputs3/sqrt.txt | 14 - tests/fuzzing/bc_inputs3/strings.txt | 12 - tests/fuzzing/bc_inputs3/subtract.txt | 153 -------- tests/fuzzing/bc_inputs3/trunc.txt | 15 - tests/fuzzing/bc_inputs3/void.txt | 20 -- tests/fuzzing/dc_inputs/01.txt | 2 - tests/fuzzing/dc_inputs/02.txt | 5 - tests/fuzzing/dc_inputs/03.txt | 2 - tests/fuzzing/dc_inputs/04.txt | 9 - tests/fuzzing/dc_inputs/05.txt | 3 - tests/fuzzing/dc_inputs/06.txt | 1 - tests/fuzzing/dc_inputs/07.txt | 3 - tests/fuzzing/dc_inputs/08.txt | 1 - tests/fuzzing/dc_inputs/09.txt | 9 - tests/fuzzing/dc_inputs/10.txt | 11 - tests/fuzzing/dc_inputs/11.txt | 4 - tests/fuzzing/dc_inputs/12.txt | 2 - tests/fuzzing/dc_inputs/13.txt | 7 - tests/fuzzing/dc_inputs/14.txt | 7 - tests/fuzzing/dc_inputs/15.txt | 11 - tests/fuzzing/dc_inputs/16.txt | 1 - tests/fuzzing/dc_inputs/17.txt | 20 -- tests/fuzzing/dc_inputs/18.txt | 3 - tests/fuzzing/dc_inputs/19.txt | 1 - tests/fuzzing/dc_inputs/20.txt | 3 - tests/fuzzing/dc_inputs/21.txt | 5 - tests/fuzzing/dc_inputs/22.txt | 36 -- tests/fuzzing/dc_inputs/23.txt | 2 - tests/fuzzing/dc_inputs/24.txt | 1 - tests/fuzzing/dc_inputs/25.txt | 6 - tests/fuzzing/dc_inputs/26.txt | 155 -------- tests/fuzzing/dc_inputs/27.txt | 2 - tests/fuzzing/dc_inputs/28.txt | 1 - tests/fuzzing/dc_inputs/29.txt | 13 - tests/fuzzing/dc_inputs/30.txt | 1 - tests/fuzzing/dc_inputs/31.txt | 1 - tests/fuzzing/dc_inputs/abs.txt | 7 - tests/fuzzing/dc_inputs/add.txt | 33 -- tests/fuzzing/dc_inputs/array.dc | 2 - tests/fuzzing/dc_inputs/boolean.txt | 80 ----- tests/fuzzing/dc_inputs/decimal.txt | 36 -- tests/fuzzing/dc_inputs/divide.txt | 33 -- tests/fuzzing/dc_inputs/divmod.txt | 64 ---- tests/fuzzing/dc_inputs/else.dc | 4 - tests/fuzzing/dc_inputs/engineering.txt | 19 - tests/fuzzing/dc_inputs/loop.dc | 3 - tests/fuzzing/dc_inputs/misc.txt | 1 - tests/fuzzing/dc_inputs/modexp.txt | 103 ------ tests/fuzzing/dc_inputs/modulus.txt | 70 ---- tests/fuzzing/dc_inputs/multiply.txt | 42 --- tests/fuzzing/dc_inputs/places.txt | 14 - tests/fuzzing/dc_inputs/power.txt | 36 -- tests/fuzzing/dc_inputs/quit.dc | 2 - tests/fuzzing/dc_inputs/scientific.txt | 51 --- tests/fuzzing/dc_inputs/shift.txt | 42 --- tests/fuzzing/dc_inputs/sqrt.txt | 14 - tests/fuzzing/dc_inputs/stdin.txt | 205 ----------- tests/fuzzing/dc_inputs/stream.dc | 2 - tests/fuzzing/dc_inputs/strings.txt | 50 --- tests/fuzzing/dc_inputs/subtract.txt | 33 -- tests/fuzzing/dc_inputs/trunc.txt | 11 - tests/fuzzing/dc_inputs/vars.txt | 2 - tests/fuzzing/dc_inputs/weird.dc | 2 - tests/other.sh | 271 -------------- 155 files changed, 109 insertions(+), 5067 deletions(-) diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c674e06fda50 --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +*.a +*.core +*.o +*.so +*.swp +*~ +_.tinderbox.* +_.universe-toolchain +_.amd64.* +_.arm.* +_.arm64.* +_.i386.* +_.ia64.* +_.mips.* +_.pc98.* +_.powerpc.* +_.riscv.* +_.sparc64.* +_.sun4v.* +GPATH +GRTAGS +GTAGS +ID +cscope.files +cscope.in.out +cscope.out +cscope.po.out diff --git a/README.md b/README.md new file mode 100644 index 000000000000..72bd634cd813 --- /dev/null +++ b/README.md @@ -0,0 +1,82 @@ +FreeBSD Source: +--------------- +This is the top level of the FreeBSD source directory. This file +was last revised on: +$FreeBSD$ + +FreeBSD is an operating system used to power modern servers, +desktops, and embedded platforms. A large community has +continually developed it for more than thirty years. Its +advanced networking, security, and storage features have +made FreeBSD the platform of choice for many of the +busiest web sites and most pervasive embedded networking +and storage devices. + +For copyright information, please see the file COPYRIGHT in this +directory. Additional copyright information also exists for some +sources in this tree - please see the specific source directories for +more information. + +The Makefile in this directory supports a number of targets for +building components (or all) of the FreeBSD source tree. See build(7), config(8), +https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html, and +https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html +for more information, including setting make(1) variables. + +Source Roadmap: +--------------- +``` +bin System/user commands. + +cddl Various commands and libraries under the Common Development + and Distribution License. + +contrib Packages contributed by 3rd parties. + +crypto Cryptography stuff (see crypto/README). + +etc Template files for /etc. + +gnu Various commands and libraries under the GNU Public License. + Please see gnu/COPYING* for more information. + +include System include files. + +kerberos5 Kerberos5 (Heimdal) package. + +lib System libraries. + +libexec System daemons. + +release Release building Makefile & associated tools. + +rescue Build system for statically linked /rescue utilities. + +sbin System commands. + +secure Cryptographic libraries and commands. + +share Shared resources. + +stand Boot loader sources. + +sys Kernel sources. + +sys/<arch>/conf Kernel configuration files. GENERIC is the configuration + used in release builds. NOTES contains documentation of + all possible entries. + +tests Regression tests which can be run by Kyua. See tests/README + for additional information. + +tools Utilities for regression testing and miscellaneous tasks. + +usr.bin User commands. + +usr.sbin System administration commands. +``` + +For information on synchronizing your source tree with one or more of +the FreeBSD Project's development branches, please see: + + https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html diff --git a/contrib/bc/tests/diff.sh b/contrib/bc/tests/diff.sh old mode 100644 new mode 100755 diff --git a/contrib/bc/tests/fuzzing/bc_inputs1/array.bc b/contrib/bc/tests/fuzzing/bc_inputs1/array.bc old mode 100644 new mode 100755 diff --git a/contrib/bc/tests/fuzzing/bc_inputs2/references.bc b/contrib/bc/tests/fuzzing/bc_inputs2/references.bc old mode 100644 new mode 100755 diff --git a/contrib/bc/tests/fuzzing/dc_inputs/stream.dc b/contrib/bc/tests/fuzzing/dc_inputs/stream.dc old mode 100644 new mode 100755 diff --git a/contrib/bc/tests/other.sh b/contrib/bc/tests/other.sh old mode 100644 new mode 100755 diff --git a/tests/dc/errors/30.txt b/tests/dc/errors/30.txt deleted file mode 100644 index e072e71617d8..000000000000 --- a/tests/dc/errors/30.txt +++ /dev/null @@ -1 +0,0 @@ -0;0[]0:b;bs0l0x;0 diff --git a/tests/dc/errors/31.txt b/tests/dc/errors/31.txt deleted file mode 100644 index 9bada9d07d0e..000000000000 --- a/tests/dc/errors/31.txt +++ /dev/null @@ -1 +0,0 @@ -0;0[]0:b;bS0l0x;0 diff --git a/tests/dc/scripts/all.txt b/tests/dc/scripts/all.txt deleted file mode 100644 index e15dae5e15ff..000000000000 --- a/tests/dc/scripts/all.txt +++ /dev/null @@ -1,9 +0,0 @@ -prime.dc -asciify.dc -stream.dc -array.dc -else.dc -factorial.dc -loop.dc -quit.dc -weird.dc diff --git a/tests/diff.sh b/tests/diff.sh deleted file mode 100755 index 6d664a8a81b8..000000000000 --- a/tests/diff.sh +++ /dev/null @@ -1,51 +0,0 @@ -#! /bin/sh -# -# SPDX-License-Identifier: BSD-2-Clause -# -# Copyright (c) 2018-2021 Gavin D. Howard and contributors. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -set -e - -script="$0" - -testdir=$(dirname "$script") - -if [ "$#" -lt 2 ]; then - printf 'usage: %s dir test\n' "$0" - printf 'valid dirs are:\n' - printf '\n' - cat "$testdir/all.txt" - printf '\n' - exit 1 -fi - -d="$1" -shift - -t="$1" -shift - -exec diff "$testdir/$d/${t}_results.txt" "$testdir/${d}_outputs/${t}_results.txt" diff --git a/tests/extra_required.txt b/tests/extra_required.txt deleted file mode 100644 index a87a9a0aacf2..000000000000 --- a/tests/extra_required.txt +++ /dev/null @@ -1,7 +0,0 @@ -engineering -lib2 -places -rand -scientific -shift -trunc diff --git a/tests/fuzzing/bc.dict b/tests/fuzzing/bc.dict deleted file mode 100644 index f4dc965844e1..000000000000 --- a/tests/fuzzing/bc.dict +++ /dev/null @@ -1,68 +0,0 @@ -# -# SPDX-License-Identifier: BSD-2-Clause -# -# Copyright (c) 2018-2021 Gavin D. Howard and contributors. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# -# * Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# -# AFL dictionary for bc -# - -keyword_abs="abs" -keyword_auto="auto" -keyword_break="break" -keyword_continue="continue" -keyword_define="define" -keyword_else="else" -keyword_for="for" -keyword_halt="halt" -keyword_ibase="ibase" -keyword_if="if" -keyword_irand="irand" -keyword_last="last" -keyword_length="length" -keyword_limits="limits" -keyword_maxibase="maxibase" -keyword_maxobase="maxobase" -keyword_maxrand="maxrand" -keyword_maxscale="maxscale" -keyword_obase="obase" -keyword_print="print" -keyword_quit="quit" -keyword_rand="rand" -keyword_read="read" -keyword_return="return" -keyword_scale="scale" -keyword_seed="seed" -keyword_sqrt="sqrt" -keyword_while="while" - -"{" -"}" -"," -"[" -"]" -"1" -"1.234" -"-3.2892" -"3e4" diff --git a/tests/fuzzing/bc_inputs1/abs.txt b/tests/fuzzing/bc_inputs1/abs.txt deleted file mode 100644 index ffb7aba65c3b..000000000000 --- a/tests/fuzzing/bc_inputs1/abs.txt +++ /dev/null @@ -1,7 +0,0 @@ -abs(0) -abs(1) -abs(.289365) -abs(289.82937658) -abs(-19) -abs(-.2098180) -abs(-198289.1098376) diff --git a/tests/fuzzing/bc_inputs1/add.txt b/tests/fuzzing/bc_inputs1/add.txt deleted file mode 100644 index 647781732c63..000000000000 --- a/tests/fuzzing/bc_inputs1/add.txt +++ /dev/null @@ -1,146 +0,0 @@ -0 + 0 -0 + 1 -1 + 1 -1 + 0 -2 + 5 -237 + 483 -999 + 999 -2374623 + 324869356734856 -2378639084586723980562 + 23468729367839 -37298367203972395108367910823465293084561329084561390845613409516734503870691837451 + 785621394067928346918023476190834672198467134908618723249671349062187346898241093486139046139084613490817356023871869102746182749061872609129847 -1.1 + 0 -0 + 1.1 -457283.731284923576 + 37842934672834.3874629385672354 -1.0 + 0.1 -3746289134067138046 + 0.138375863945672398456712389456273486293 --1 + -1 --4 + -15 --1346782 + -1287904651762468913476 -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999995 + 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005 -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 + 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 -99999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999899999999999999999999999999999999999999999999999999999999999999 + 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 -99999999999999999999999999999999999989999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 + 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 --1889985797 + 2012747315 -0 + -14338.391079082 --2422297 + 1.3134942556 -182039471029834 + 282039471029834 -282039471029834 + 182039471029834 -182039471029834.2801722893 + 282039471029834 -282039471029834.2801722893 + 182039471029834 -182039471029834.2801722893 + 282039471029834.2838 -282039471029834.2801722893 + 182039471029834.2838 -182039471029834 + 282039471029834.2801722893 -282039471029834 + 182039471029834.2801722893 -182039471029834.8297282893 + 282039471029834.2801722893 -282039471029834.8297282893 + 182039471029834.2801722893 -471029834 + 282039471029834 -471029834 + 182039471029834 -471029834.2801722893 + 282039471029834 -471029834.2801722893 + 182039471029834 -471029834.2801722893 + 282039471029834.2838 -471029834.2801722893 + 182039471029834.2838 -471029834 + 282039471029834.2801722893 -471029834 + 182039471029834.2801722893 -471029834.8297282893 + 282039471029834.2801722893 -471029834.8297282893 + 182039471029834.2801722893 -182039471029834 + 471029834 -282039471029834 + 471029834 -182039471029834.2801722893 + 471029834 -282039471029834.2801722893 + 471029834 -182039471029834.2801722893 + 471029834.2838 -282039471029834.2801722893 + 471029834.2838 -182039471029834 + 471029834.2801722893 -282039471029834 + 471029834.2801722893 -182039471029834.8297282893 + 471029834.2801722893 -282039471029834.8297282893 + 471029834.2801722893 --182039471029834 + 282039471029834 --282039471029834 + 182039471029834 --182039471029834.2801722893 + 282039471029834 --282039471029834.2801722893 + 182039471029834 --182039471029834.2801722893 + 282039471029834.2838 --282039471029834.2801722893 + 182039471029834.2838 --182039471029834 + 282039471029834.2801722893 --282039471029834 + 182039471029834.2801722893 --182039471029834.8297282893 + 282039471029834.2801722893 --282039471029834.8297282893 + 182039471029834.2801722893 --471029834 + 282039471029834 --471029834 + 182039471029834 --471029834.2801722893 + 282039471029834 --471029834.2801722893 + 182039471029834 --471029834.2801722893 + 282039471029834.2838 --471029834.2801722893 + 182039471029834.2838 --471029834 + 282039471029834.2801722893 --471029834 + 182039471029834.2801722893 --471029834.8297282893 + 282039471029834.2801722893 --471029834.8297282893 + 182039471029834.2801722893 --182039471029834 + 471029834 --282039471029834 + 471029834 --182039471029834.2801722893 + 471029834 --282039471029834.2801722893 + 471029834 --182039471029834.2801722893 + 471029834.2838 --282039471029834.2801722893 + 471029834.2838 --182039471029834 + 471029834.2801722893 --282039471029834 + 471029834.2801722893 --182039471029834.8297282893 + 471029834.2801722893 --282039471029834.8297282893 + 471029834.2801722893 -182039471029834 + -282039471029834 -282039471029834 + -182039471029834 -182039471029834.2801722893 + -282039471029834 -282039471029834.2801722893 + -182039471029834 -182039471029834.2801722893 + -282039471029834.2838 -282039471029834.2801722893 + -182039471029834.2838 -182039471029834 + -282039471029834.2801722893 -282039471029834 + -182039471029834.2801722893 -182039471029834.8297282893 + -282039471029834.2801722893 -282039471029834.8297282893 + -182039471029834.2801722893 -471029834 + -282039471029834 -471029834 + -182039471029834 -471029834.2801722893 + -282039471029834 -471029834.2801722893 + -182039471029834 -471029834.2801722893 + -282039471029834.2838 -471029834.2801722893 + -182039471029834.2838 -471029834 + -282039471029834.2801722893 -471029834 + -182039471029834.2801722893 -471029834.8297282893 + -282039471029834.2801722893 -471029834.8297282893 + -182039471029834.2801722893 -182039471029834 + -471029834 -282039471029834 + -471029834 -182039471029834.2801722893 + -471029834 -282039471029834.2801722893 + -471029834 -182039471029834.2801722893 + -471029834.2838 -282039471029834.2801722893 + -471029834.2838 -182039471029834 + -471029834.2801722893 -282039471029834 + -471029834.2801722893 -182039471029834.8297282893 + -471029834.2801722893 -282039471029834.8297282893 + -471029834.2801722893 --182039471029834 + -282039471029834 --282039471029834 + -182039471029834 --182039471029834.2801722893 + -282039471029834 --282039471029834.2801722893 + -182039471029834 --182039471029834.2801722893 + -282039471029834.2838 --282039471029834.2801722893 + -182039471029834.2838 --182039471029834 + -282039471029834.2801722893 --282039471029834 + -182039471029834.2801722893 --182039471029834.8297282893 + -282039471029834.2801722893 --282039471029834.8297282893 + -182039471029834.2801722893 --471029834 + -282039471029834 --471029834 + -182039471029834 --471029834.2801722893 + -282039471029834 --471029834.2801722893 + -182039471029834 --471029834.2801722893 + -282039471029834.2838 --471029834.2801722893 + -182039471029834.2838 --471029834 + -282039471029834.2801722893 --471029834 + -182039471029834.2801722893 --471029834.8297282893 + -282039471029834.2801722893 --471029834.8297282893 + -182039471029834.2801722893 --182039471029834 + -471029834 --282039471029834 + -471029834 --182039471029834.2801722893 + -471029834 --282039471029834.2801722893 + -471029834 --182039471029834.2801722893 + -471029834.2838 --282039471029834.2801722893 + -471029834.2838 --182039471029834 + -471029834.2801722893 --282039471029834 + -471029834.2801722893 --182039471029834.8297282893 + -471029834.2801722893 --282039471029834.8297282893 + -471029834.2801722893 diff --git a/tests/fuzzing/bc_inputs1/arctangent.txt b/tests/fuzzing/bc_inputs1/arctangent.txt deleted file mode 100644 index f665ea90b728..000000000000 --- a/tests/fuzzing/bc_inputs1/arctangent.txt +++ /dev/null @@ -1,26 +0,0 @@ -a(.267) -a(1) -scale = 64 -a(.267) -a(1) -scale = 100 -a(.267) -a(1) -scale = 20 -a(0) -a(.5) -a(0.577350269189625764509148780501) -a(1.5) -a(1.7320508075688772935274463415) -a(2) -a(3) -a(1000) -a(-.5) -a(-0.577350269189625764509148780501) -a(-1.5) -a(-1.7320508075688772935274463415) -a(-2) -a(-3) -a(-1000) -a(-3249917614.2821897119) -a(-694706362.1974670468) diff --git a/tests/fuzzing/bc_inputs1/array.bc b/tests/fuzzing/bc_inputs1/array.bc deleted file mode 100755 index dac232804914..000000000000 --- a/tests/fuzzing/bc_inputs1/array.bc +++ /dev/null @@ -1,60 +0,0 @@ -#! /usr/bin/bc -q - -define z(a[]) { - for (i = 0; i < l; ++i) { - a[i] - } -} - -define x(a[]) { - - # Test for separate vars and arrays. - auto a - - for (a = 0; a < l; ++a) { - a[a] = -a - } - - z(a[]) -} - -define g(x[], y[]) { - return x[0] - y[0] -} - -define h(y[], x[]) { - return g(x[], y[]) -} - -define m(*x[], *y[]) { - return x[0] / y[0] -} - -define n(*y[], *x[]) { - return m(x[], y[]) -} - -for (i = 0; i < 101; ++i) { - a[i] = i -} - -a[104] = 204 - -l = length(a[]) - -for (i = 0; i <= l; ++i) { - a[i] -} - -z(a[]) -x(a[]) -z(a[]) -l - -x[0] = 5 -y[0] = 4 - -h(x[], y[]) -n(x[], y[]) - -halt diff --git a/tests/fuzzing/bc_inputs1/arrays.txt b/tests/fuzzing/bc_inputs1/arrays.txt deleted file mode 100644 index 26a284b8d814..000000000000 --- a/tests/fuzzing/bc_inputs1/arrays.txt +++ /dev/null @@ -1,10 +0,0 @@ -a[0] = 1 -a[2-1] = 2 - -a[0]+a[0] - -a[2-1]+a[2-1] - -a[5] = 2 -a[5.789] - diff --git a/tests/fuzzing/bc_inputs1/assignments.txt b/tests/fuzzing/bc_inputs1/assignments.txt deleted file mode 100644 index 6a776e7840ec..000000000000 --- a/tests/fuzzing/bc_inputs1/assignments.txt +++ /dev/null @@ -1,122 +0,0 @@ -define x(x) { - return (i++ + x) -} -define y(x) { - return (++i + x) -} -define z(x) { - return (i *= 2) + x -} - -i++ -i-- -++i ---i - -(i++) -(i--) -(++i) -(--i) - -i += 1 -i -i -= -4 -i -i *= 5 -i -i /= 12.5 -i - -i = 0 - -(i += 1) -(i -= -4) -(i *= 5) -(i /= 12.5) - -i = 0 - -a[i++] += ++i -i-- -i-- -i -a[i] - -a[i]++ -a[i]-- -++a[i] ---a[i] - -i += 4 -i - -sqrt(i *= 4) -i -length(i /= 2) -i - -i = 4 -scale(i /= 2) -i - -i = -1 - -abs(i--) -abs(--i) -abs(++i) -abs(i++) - -i = -i - -a = 4 - -x(a) -i - -x(a *= 5) -a -i - -a = 4 - -y(a) -i - -y(a -= 2) -a -i - -a = 4 - -z(a) -i - -z(a /= 0.5) -a -i - -i = 1 - -if (i -= 1) print "true\n" -else print "false\n" - -if (i += 1) print "true\n" -else print "false\n" - -i = 3 - -while (i -= 2) print "i: ", i += 1, "\n" - -a = 5 - -for (i = 5; i-= 1; --a) print "i: ", i, "; a: ", a, "\n" - -define void t(x, y) { - print "x: ", x, "; y: ", y, "\n" -} - -t(i++, i++) -i - -t(++i, ++i) -i diff --git a/tests/fuzzing/bc_inputs1/basic.txt b/tests/fuzzing/bc_inputs1/basic.txt deleted file mode 100644 index f3d957a26635..000000000000 --- a/tests/fuzzing/bc_inputs1/basic.txt +++ /dev/null @@ -1,7 +0,0 @@ -scale=10;123981239.981273987 * 12983791827398.29836472638 -scale=100;759634576394.3946587934658364895 / 9834759834895386.36459364958346 -34895734986539489834759837489573498573.398475984759837485734987598345 + 9823749832749872384234872934.28347982374987239847982374 -a=123123123.987239874; b=123123123.239479823748; a+b -20347023.23498723984 - 28934723874.234720384 -scale=100;a=739534985.895347284957;b=238746782364.2374623784; c = a / b; c+0 - diff --git a/tests/fuzzing/bc_inputs1/boolean.txt b/tests/fuzzing/bc_inputs1/boolean.txt deleted file mode 100644 index e26ded34bd1d..000000000000 --- a/tests/fuzzing/bc_inputs1/boolean.txt +++ /dev/null @@ -1,184 +0,0 @@ -!0 -!1 -!(-129) -4 && 5 -4 && 0 -0 && 5 -4 && 5 && 7 -4 && 0 && 7 -0 && 5 && 7 -4 && 5 && 0 -0 && 0 && 7 -4 && 0 && 0 -0 && 5 && 0 -!4 && 5 -!4 && 0 -!0 && 5 -4 && !5 -4 && !0 -0 && !5 -!4 && 5 && 7 -!4 && 0 && 7 -!0 && 5 && 7 -!4 && 5 && 0 -!0 && 0 && 7 -!4 && 0 && 0 -!0 && 5 && 0 -4 && !5 && 7 -4 && !0 && 7 -0 && !5 && 7 -4 && !5 && 0 -0 && !0 && 7 -4 && !0 && 0 -0 && !5 && 0 -4 && 5 && !7 -4 && 0 && !7 -0 && 5 && !7 -4 && 5 && !0 -0 && 0 && !7 -4 && 0 && !0 -0 && 5 && !0 -!4 && !5 && 7 -!4 && !0 && 7 -!0 && !5 && 7 -!4 && !5 && 0 -!0 && !0 && 7 -!4 && !0 && 0 -!0 && !5 && 0 -!4 && 5 && !7 -!4 && 0 && !7 -!0 && 5 && !7 -!4 && 5 && !0 -!0 && 0 && !7 -!4 && 0 && !0 -!0 && 5 && !0 -4 && !5 && !7 -4 && !0 && !7 -0 && !5 && !7 -4 && !5 && !0 -0 && !0 && !7 -4 && !0 && !0 -0 && !5 && !0 -!4 && !5 && !7 -!4 && !0 && !7 -!0 && !5 && !7 -!4 && !5 && !0 -!0 && !0 && !7 -!4 && !0 && !0 -!0 && !5 && !0 *** 5288 LINES SKIPPED ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102092126.119LQsja020160>