#!/bin/bash # Try to check out a restricted repo using a different project's account # This must fail with an access denied / authorization error if ! maxtime 20 svn checkout --username testacct https://stromberg.dnsalias.org/svn/supercaremed/trunk scm then exit 0 fi exit 1