Changeset 1606
- Timestamp:
- Jul 13, 2020, 3:08:46 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10-stable/test/repo_status_test.sh
r978 r1606 35 35 # check if the last test revision is a part of the svndigest repository 36 36 status_return=`$SVN status -v ${repo}/db/revs/$rev` 37 echo "status_return:$status_return" 37 38 # logic: (file does not exist) || (file exists but not in revision control) 38 if [[ ${#status_return} -eq 0 || ${status_return:0:1} = "?" ]]; then39 if test x"${status_return}" = x"" || echo "${status_return}" | $GREP -q '^?'; then 39 40 repository_status=0 40 41 echo "ERROR: test repository and svndigest repository are not synchronized:" … … 50 51 # repository is found, or break the test repository revision 0 is 51 52 # reached. 52 while [[ ${#status_return} -eq 0 || ${status_return:0:1} = "?" ]] && [ $rev -ge 0 ]; do53 while {test x"${status_return}" = x"" || echo "${status_return}" | $GREP -q '^?'} && test $rev -ge 0; do 53 54 echo "ERROR: svn add test/repo/db/revs/$rev test/repo/db/revprops/$rev" 54 55 let rev--
Note: See TracChangeset
for help on using the changeset viewer.