#!/bin/sh

svnserve_config="/tmp/svnserve_config/"
svn_dir="/home/sigfred/devel/svn/"

# Remove old config from previous test, if any.
if [ -d ${svnserve_config} ]; then
  rm -fr ${svnserve_config}
fi

cd ${svn_dir}

# Use "svn ls" to accept certificate permanently, 
# and store it.
./subversion/clients/cmdline/svn ls --config-dir \
     ${svnserve_config} svn://localhost

# Now we can do the usual automatic tests.
make check-clean
make check BASE_URL=svn://localhost


