Opened 3 years ago
Closed 3 years ago
#534 closed defect (fixed)
repo_status_test fails with dash
Reported by: | Peter Johansson | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | major | Milestone: | svndigest 0.10.4 |
Component: | test | Version: | 0.10.3 |
Keywords: | Cc: |
Description
I get the following log:
=== running ./repo_status_test.sh === + set -e + repository_status=1 + cat /home/peter/src/svndigest-0.10.x/test/repo/db/current + rev=71 31 4 + rev=71 + svn --non-interactive status -v /home/peter/src/svndigest-0.10.x/test/repo/db/revs/71 + status_return= 1605 1449 peter /home/peter/src/svndigest-0.10.x/test/repo/db/revs/71 + [[ 94 -eq 0 ./repo_status_test.sh: 38: [[: not found ./repo_status_test.sh: 38: Bad substitution FAIL repo_status_test.sh (exit status: 2)
I have the same output on a different system where the test works - with svn 1.7 and the same format in the output. The crucial difference seems to be that ubunbtu uses dash instead of bash.
Note: See
TracTickets for help on using
tickets.
In 1606: