Ignore:
Timestamp:
Jul 14, 2020, 2:40:18 AM (12 months ago)
Author:
Peter Johansson
Message:

merge recent changes from 0.10-stable branch into trunk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/test/repo_status_test.sh

    r1532 r1608  
    3535# check if the last test revision is a part of the svndigest repository
    3636status_return=`$SVN status -v ${repo}/db/revs/$rev`
     37echo "status_return:$status_return"
    3738# logic: (file does not exist) || (file exists but not in revision control)
    38 if [[ ${#status_return} -eq 0 || ${status_return:0:1} = "?" ]]; then
     39if test x"${status_return}" = x"" || echo "${status_return}" | $GREP -q '^?'; then
    3940    repository_status=0
    4041    echo "ERROR: test repository and svndigest repository are not synchronized:"
     
    5051# repository is found, or break the test repository revision 0 is
    5152# reached.
    52 while [[ ${#status_return} -eq 0 || ${status_return:0:1} = "?" ]] && [ $rev -ge 0 ]; do
     53while {test x"${status_return}" = x"" || echo "${status_return}" | $GREP -q '^?'} && test $rev -ge 0; do
    5354    echo "ERROR:    svn add test/repo/db/revs/$rev test/repo/db/revprops/$rev"
    5455    let rev--
Note: See TracChangeset for help on using the changeset viewer.