How to find out if 'svn up' finished successfully?
svn
Solution
From the command line, I usually run `svn status -q` which should print nothing if everything is up to date. Otherwise, it will either error out, or display what files haven't been updated yet.
As others have mentioned, `svn up` should return a non-zero value if it failed for any particular reason.
You should look into using a continuous build system like Jenkins. You could have Jenkins run your tests with every commit, or automatically have it run at a particular time during the day. This way, you're not reinventing the wheel. Plus, Jenkins could email the test results and give you a place to display them.
Problem
I run `sudo svn --username radek update ".$codebase." --force";` from my php script (on SuSE) every night before automation testing starts. So the testing is done on the latest code that was checked in today. How can I for sure know that `svn up` finished successfully? So in case it wasn't the testing is not triggered?