Tests: Make test 02 more specific
Test for an opening table tag instead of just the word "table".pull/147/head
parent
e505eb2a13
commit
8efe0b01fa
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue