Tests: Make test 02 more specific

Test for an opening table tag instead of just the word "table".
pull/151/head
Ryan Schmidt 2022-05-13 00:30:45 -05:00
parent b9ecd5bcb4
commit 08803be436
1 changed files with 1 additions and 1 deletions

View File

@ -7,5 +7,5 @@ the fancyindex module.
nginx_start
content=$(fetch --with-headers)
grep 'Index of /' <<< "${content}" # It is an index
grep '\<table\>' <<< "${content}" # It contains a table
grep '<table\>' <<< "${content}" # It contains a table
grep '^ Content-Type:[[:space:]]*text/html' <<< "${content}"