diff options
| author | Stefan Eßer <se@FreeBSD.org> | 2021-09-19 12:41:20 +0000 |
|---|---|---|
| committer | Stefan Eßer <se@FreeBSD.org> | 2021-09-19 12:41:20 +0000 |
| commit | a60ef1802a36f2f2a5611564191440ea1c1e2f17 (patch) | |
| tree | 8ec2045a9bf751b60e0615ae80a9d667535e3db5 /tests/script.sh | |
| parent | 2f57ecae4b98e76e5d675563785a7e6c59c868c4 (diff) | |
vendor/bc: update to upstream version 5.0.2vendor/bc/5.0.2
Diffstat (limited to 'tests/script.sh')
| -rwxr-xr-x | tests/script.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/script.sh b/tests/script.sh index f8fdd67ee137..162437af8f22 100755 --- a/tests/script.sh +++ b/tests/script.sh @@ -35,6 +35,8 @@ testdir=$(dirname "${script}") . "$testdir/../scripts/functions.sh" +outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} + # Command-line processing. if [ "$#" -lt 2 ]; then printf 'usage: %s dir script [run_extra_tests] [run_stack_tests] [generate_tests] [time_tests] [exec args...]\n' "$script" @@ -126,7 +128,7 @@ if [ "$run_stack_tests" -eq 0 ]; then fi -out="$testdir/${d}_outputs/${name}_script_results.txt" +out="$outputdir/${d}_outputs/${name}_script_results.txt" outdir=$(dirname "$out") # Make sure the directory exists. |
