Skip to content

Commit

Permalink
Merge branch 'rj/highlight-test-hang'
Browse files Browse the repository at this point in the history
* rj/highlight-test-hang:
  gitweb test: fix highlight test hang on Linux Mint
  • Loading branch information
jrn committed Oct 14, 2013
2 parents ec145c9 + 7202db8 commit a43948b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/t9500-gitweb-standalone-no-errors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -683,9 +683,11 @@ test_expect_success \
# syntax highlighting


highlight --version >/dev/null 2>&1
highlight_version=$(highlight --version </dev/null 2>/dev/null)
if [ $? -eq 127 ]; then
say "Skipping syntax highlighting test, because 'highlight' was not found"
say "Skipping syntax highlighting tests: 'highlight' not found"
elif test -z "$highlight_version"; then
say "Skipping syntax highlighting tests: incorrect 'highlight' found"
else
test_set_prereq HIGHLIGHT
cat >>gitweb_config.perl <<-\EOF
Expand Down

0 comments on commit a43948b

Please sign in to comment.