#!/bin/sh set -ex cd ${ADTTMP:-$AUTOPKGTEST_TMP} REPO=$(pwd)/repo WC=$(pwd)/wc PID=$(pwd)/pid svnadmin create "$REPO" cat > "$REPO"/conf/svnserve.conf < "$REPO"/conf/passwd < hello svn add hello if svn commit --non-interactive -mdep8; then echo 'Anonymous commit unexpectedly worked' >&2 fi svn commit --non-interactive --username user --password password -mdep8 result=$(svn cat --non-interactive svn://localhost/hello) test "$result" = "Hello, world!"