Skip to content

Commit aa6dbd6

Browse files
committed
Fix run_doc_test to work with newer go-md2man
Should fix sclorg#421
1 parent a71eeba commit aa6dbd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/run_test

+2-2
Original file line numberDiff line numberDiff line change
@@ -699,8 +699,8 @@ run_doc_test() {
699699
for f in help.1 ; do
700700
docker run --rm ${IMAGE_NAME} /bin/bash -c "cat /${f}" >${tmpdir}/$(basename ${f})
701701
# Check whether the files include some important information
702-
for term in "POSTGRESQL\_ADMIN\_PASSWORD" volume 5432 ; do
703-
if ! cat ${tmpdir}/$(basename ${f}) | grep -F -q -e "${term}" ; then
702+
for term in 'POSTGRESQL\\?_ADMIN\\?_PASSWORD' volume 5432 ; do
703+
if ! cat ${tmpdir}/$(basename ${f}) | grep -E -q -e "${term}" ; then
704704
echo "ERROR: File /${f} does not include '${term}'."
705705
return 1
706706
fi

0 commit comments

Comments
 (0)