Tests: Make test 02 more specific

Test for an opening table tag instead of just the word "table".
pull/147/head
Ryan Schmidt 2022-05-13 00:30:45 -05:00 committed by Adrian Perez
parent e505eb2a13
commit 8efe0b01fa
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}"