We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec145c9 + 7202db8 commit a43948bCopy full SHA for a43948b
t/t9500-gitweb-standalone-no-errors.sh
@@ -683,9 +683,11 @@ test_expect_success \
683
# syntax highlighting
684
685
686
-highlight --version >/dev/null 2>&1
+highlight_version=$(highlight --version </dev/null 2>/dev/null)
687
if [ $? -eq 127 ]; then
688
- say "Skipping syntax highlighting test, because 'highlight' was not found"
+ say "Skipping syntax highlighting tests: 'highlight' not found"
689
+elif test -z "$highlight_version"; then
690
+ say "Skipping syntax highlighting tests: incorrect 'highlight' found"
691
else
692
test_set_prereq HIGHLIGHT
693
cat >>gitweb_config.perl <<-\EOF
0 commit comments