#!/bin/bash set -eu rm -rf /tmp/ta-nwu2 if ! svn co --username testacct https://stromberg.dnsalias.org/svn/notify-when-up2/trunk /tmp/ta-nwu2 then exit 1 fi cd /tmp/ta-nwu2 echo "test" >> test.txt svn add test.txt --force if svn commit --username testacct -m "Testing dstromberg write permissions - add" then exit 1 fi