Merge branch 'rj/highlight-test-hang'
* rj/highlight-test-hang: gitweb test: fix highlight test hang on Linux Mint
This commit is contained in:
@@ -683,9 +683,11 @@ test_expect_success \
|
|||||||
# syntax highlighting
|
# syntax highlighting
|
||||||
|
|
||||||
|
|
||||||
highlight --version >/dev/null 2>&1
|
highlight_version=$(highlight --version </dev/null 2>/dev/null)
|
||||||
if [ $? -eq 127 ]; then
|
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
|
else
|
||||||
test_set_prereq HIGHLIGHT
|
test_set_prereq HIGHLIGHT
|
||||||
cat >>gitweb_config.perl <<-\EOF
|
cat >>gitweb_config.perl <<-\EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user