From 188ccbafbceed4795fb7dddbce97d1acccca9242 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 29 Jan 2020 21:40:31 +0100 Subject: [PATCH] test-web: check that static/styles.css can be retrieved Signed-off-by: Johannes Berg Reviewed-by: Rob Browning --- t/test-web.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/test-web.sh b/t/test-web.sh index 1e10ada..74e0f2b 100755 --- a/t/test-web.sh +++ b/t/test-web.sh @@ -61,6 +61,8 @@ if test -n "$run_test"; then WVPASS curl --unix-socket ./socket \ 'http://localhost/%C2%A1excitement%21/latest/data' > result + WVPASSEQ "$(curl --unix-socket ./socket http://localhost/static/styles.css)" \ + "$(cat "$TOP/lib/web/static/styles.css")" WVPASSEQ '¡excitement!' "$(cat result)" WVPASS kill -s TERM "$web_pid" -- 2.39.2