<commit_before>#!/bin/sh

#
# Root of the test tree
#
TEST_ROOT="${HOME}/svn"

# Installation path, everything under that is considered
# to be temporary
INST_DIR="$TEST_ROOT/inst"

#
# Repository paths and projects name
#
# installation paths are expected to be:
# '$INST_DIR/<proj_name>, so take care of your
# $CONFIG_PREFIX.<proj_name> files.
# Everything in those directories will be wiped out
# by installation procedure. See svntest-rebuild-generic.sh

SVN_NAME=${SVN_NAME:="svn"}
SVN_SOURCE=${SVN_SOURCE:="$TEST_ROOT/$SVN_NAME"}

APR_NAME=${APR_NAME:="apr-0.9"}
APR_SOURCE=${APR_SOURCE:="$TEST_ROOT/$APR_NAME"}

APU_NAME=${APU_NAME:="apr-util-0.9"}
APU_SOURCE=${APU_SOURCE:="$TEST_ROOT/$APU_NAME"}

HTTPD_NAME=${HTTPD_NAME:="httpd-2.0"}
HTTPD_SOURCE=${HTTPD_SOURCE:="$TEST_ROOT/$HTTPD_NAME"}


# Forced update revision for SVN
# format is: FORCE_UP_REV_SVN=-r<rev num>
# empty FORCE_UP_REV_SVN will default to current head
FORCE_UP_REV_SVN=

MAKE_OPTS=

#
# Whether a RAM disk is used to store test data, RAMDISK=<yes|no>
#
RAMDISK=no

#
# Whether to pass CLEANUP=true to Makefile test targets,
# INTERMEDIATE_CLEANUP=<yes|no>
#
INTERMEDIATE_CLEANUP=${RAMDISK:="no"}

#
# Which build targets to test
#
TEST_STATIC=${TEST_STATIC:="yes"}
TEST_SHARED=${TEST_SHARED:="yes"}

#
# Whether to test the BDB backend, TEST_FSFS=<yes|no>
#
TEST_BDB=${TEST_BDB:="yes"}

#
# Whether to test the FSFS backend, TEST_FSFS=<yes|no>
#
TEST_FSFS=${TEST_FSFS:="yes"}

#
# Whether to test various bindings
#
TEST_BINDINGS_SWIG_PERL=${TEST_BINDINGS_SWIG_PERL:="no"}
TEST_BINDINGS_JAVAHL=${TEST_BINDINGS_JAVAHL:="no"}
TEST_BINDINGS_SWIG_PYTHON=${TEST_BINDINGS_SWIG_PYTHON:="no"}
TEST_BINDINGS_SWIG_RUBY=${TEST_BINDINGS_SWIG_RUBY:="no"}

# This should correspond with your httpd Listen directive
RA_DAV_CHECK_ARGS="BASE_URL=http://localhost:52080"

# port number for svntest's svnserve
SVNSERVE_PORT=52069
RA_SVN_CHECK_ARGS="BASE_URL=svn://localhost:$SVNSERVE_PORT"


#
# Log file name prefix
#
LOG_FILE_DIR="$TEST_ROOT/logs/$SVN_NAME"
LOG_FILE_PREFIX="$LOG_FILE_DIR/LOG_svntest"

#
# Configure script prefix and object directory names
#
CONFIG_PREFIX="config"
OBJ_STATIC="obj-st"
OBJ_SHARED="obj-sh"

#
# E-mail addresses for reporting
#
FROM="YOUR_EMAIL_ADDRESS"
TO="<EMAIL>"
ERROR_TO="YOUR_EMAIL_ADDRESS"
REPLY_TO="<EMAIL>"

#
# Path to utilities
#
BIN="/bin"
USRBIN="/usr/bin"
LOCALBIN="/usr/local/bin"
OPTBIN="/opt/bin"
PERLBIN="/usr/bin"

# Statically linked svn binary (used for repository updates)
SVN="$TEST_ROOT/static/bin/svn"

# Path to config.guess (used for generating the mail subject line)
GUESS="/usr/share/libtool/config.guess"

# Path to sendmail
SENDMAIL="/usr/sbin/sendmail"

# A program used to base64 encode standard input.  Two choices are
# 1) The encode-base64 script that comes with the Perl MIME::Base64
#    module on CPAN at
#    ftp://ftp.funet.fi/pub/CPAN/modules/by-module/MIME/
#
#    To install, get the latest MIME-Base64-X.YY.tar.gz and run
#    perl Makefile.PL
#    make
#    make test
#    make install UNINST=1
#
#    Uncomment here if you use this base64 encoder:
#
#    BASE64="$PERLBIN/encode-base64"
#    BASE64_E="$BASE64"
#
# 2) A pre-compiled Windows base64.exe binary for Windows users.  C
#    source code for other OSes.  Available at
#    http://www.fourmilab.ch/webtools/base64/
#
#    No instructions needed.  If you can compile and test Subversion,
#    then you can compile this :)
#
#    Uncomment here if you use this base64 encoder:
#
#    BASE64="$USRBIN/base64"
#    BASE64_E="$BASE64 -e - -"

# Other stuff
CAT="$BIN/cat"
CP="$BIN/cp"
CP_F="$CP -f"<commit_msg>* tools/test-scripts/svntest/svntest-config.sh: In the instructions   for the C version of the BASE64 program, change the example to use   the default location that the package installs to.<commit_after>#!/bin/sh

#
# Root of the test tree
#
TEST_ROOT="${HOME}/svn"

# Installation path, everything under that is considered
# to be temporary
INST_DIR="$TEST_ROOT/inst"

#
# Repository paths and projects name
#
# installation paths are expected to be:
# '$INST_DIR/<proj_name>, so take care of your
# $CONFIG_PREFIX.<proj_name> files.
# Everything in those directories will be wiped out
# by installation procedure. See svntest-rebuild-generic.sh

SVN_NAME=${SVN_NAME:="svn"}
SVN_SOURCE=${SVN_SOURCE:="$TEST_ROOT/$SVN_NAME"}

APR_NAME=${APR_NAME:="apr-0.9"}
APR_SOURCE=${APR_SOURCE:="$TEST_ROOT/$APR_NAME"}

APU_NAME=${APU_NAME:="apr-util-0.9"}
APU_SOURCE=${APU_SOURCE:="$TEST_ROOT/$APU_NAME"}

HTTPD_NAME=${HTTPD_NAME:="httpd-2.0"}
HTTPD_SOURCE=${HTTPD_SOURCE:="$TEST_ROOT/$HTTPD_NAME"}


# Forced update revision for SVN
# format is: FORCE_UP_REV_SVN=-r<rev num>
# empty FORCE_UP_REV_SVN will default to current head
FORCE_UP_REV_SVN=

MAKE_OPTS=

#
# Whether a RAM disk is used to store test data, RAMDISK=<yes|no>
#
RAMDISK=no

#
# Whether to pass CLEANUP=true to Makefile test targets,
# INTERMEDIATE_CLEANUP=<yes|no>
#
INTERMEDIATE_CLEANUP=${RAMDISK:="no"}

#
# Which build targets to test
#
TEST_STATIC=${TEST_STATIC:="yes"}
TEST_SHARED=${TEST_SHARED:="yes"}

#
# Whether to test the BDB backend, TEST_FSFS=<yes|no>
#
TEST_BDB=${TEST_BDB:="yes"}

#
# Whether to test the FSFS backend, TEST_FSFS=<yes|no>
#
TEST_FSFS=${TEST_FSFS:="yes"}

#
# Whether to test various bindings
#
TEST_BINDINGS_SWIG_PERL=${TEST_BINDINGS_SWIG_PERL:="no"}
TEST_BINDINGS_JAVAHL=${TEST_BINDINGS_JAVAHL:="no"}
TEST_BINDINGS_SWIG_PYTHON=${TEST_BINDINGS_SWIG_PYTHON:="no"}
TEST_BINDINGS_SWIG_RUBY=${TEST_BINDINGS_SWIG_RUBY:="no"}

# This should correspond with your httpd Listen directive
RA_DAV_CHECK_ARGS="BASE_URL=http://localhost:52080"

# port number for svntest's svnserve
SVNSERVE_PORT=52069
RA_SVN_CHECK_ARGS="BASE_URL=svn://localhost:$SVNSERVE_PORT"


#
# Log file name prefix
#
LOG_FILE_DIR="$TEST_ROOT/logs/$SVN_NAME"
LOG_FILE_PREFIX="$LOG_FILE_DIR/LOG_svntest"

#
# Configure script prefix and object directory names
#
CONFIG_PREFIX="config"
OBJ_STATIC="obj-st"
OBJ_SHARED="obj-sh"

#
# E-mail addresses for reporting
#
FROM="YOUR_EMAIL_ADDRESS"
TO="<EMAIL>"
ERROR_TO="YOUR_EMAIL_ADDRESS"
REPLY_TO="<EMAIL>"

#
# Path to utilities
#
BIN="/bin"
USRBIN="/usr/bin"
LOCALBIN="/usr/local/bin"
OPTBIN="/opt/bin"
PERLBIN="/usr/bin"

# Statically linked svn binary (used for repository updates)
SVN="$TEST_ROOT/static/bin/svn"

# Path to config.guess (used for generating the mail subject line)
GUESS="/usr/share/libtool/config.guess"

# Path to sendmail
SENDMAIL="/usr/sbin/sendmail"

# A program used to base64 encode standard input.  Two choices are
# 1) The encode-base64 script that comes with the Perl MIME::Base64
#    module on CPAN at
#    ftp://ftp.funet.fi/pub/CPAN/modules/by-module/MIME/
#
#    To install, get the latest MIME-Base64-X.YY.tar.gz and run
#    perl Makefile.PL
#    make
#    make test
#    make install UNINST=1
#
#    Uncomment here if you use this base64 encoder:
#
#    BASE64="$PERLBIN/encode-base64"
#    BASE64_E="$BASE64"
#
# 2) A pre-compiled Windows base64.exe binary for Windows users.  C
#    source code for other OSes.  Available at
#    http://www.fourmilab.ch/webtools/base64/
#
#    No instructions needed.  If you can compile and test Subversion,
#    then you can compile this :)
#
#    Uncomment here if you use this base64 encoder:
#
#    BASE64="$LOCALBIN/base64"
#    BASE64_E="$BASE64 -e - -"

# Other stuff
CAT="$BIN/cat"
CP="$BIN/cp"
CP_F="$CP -f"
{'fraction_non_alphanumeric': 0.13423545331529094, 'fraction_numerical': 0.014073071718538565, 'mean_word_length': 5.344206008583691, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4431504', 'n_tokens_mistral': 2941, 'n_tokens_neox': 2829, 'n_words': 632}