#!/bin/bash # This should fail instantly with a 401 Unauthorized or 403 Forbidden error if ! maxtime 20 svn commit --username "" --password "" -m "Anonymous commit test" then exit 0 fi exit 1