From 8efe0b01fa38d17b5d6d3602d83bf7cf0582d67d Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Fri, 13 May 2022 00:30:45 -0500 Subject: [PATCH] Tests: Make test 02 more specific Test for an opening table tag instead of just the word "table". --- t/02-smoke-indexisfancy.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/02-smoke-indexisfancy.test b/t/02-smoke-indexisfancy.test index 10cc403..47972d8 100644 --- a/t/02-smoke-indexisfancy.test +++ b/t/02-smoke-indexisfancy.test @@ -7,5 +7,5 @@ the fancyindex module. nginx_start content=$(fetch --with-headers) grep 'Index of /' <<< "${content}" # It is an index -grep '\' <<< "${content}" # It contains a table +grep '' <<< "${content}" # It contains a table grep '^ Content-Type:[[:space:]]*text/html' <<< "${content}"