Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Check the whole page in the extension tests
A page that died part way through, or logged an error, passed as long
as the text grepped for came before the failure. Four tests also read
the page an earlier test had fetched, so none of them could run alone.
Diffstat (limited to 'tests/t0504-email-avatar.sh')
| -rwxr-xr-x | tests/t0504-email-avatar.sh | 6 |
1 file changed, 3 insertions, 3 deletions
diff --git a/tests/t0504-email-avatar.sh b/tests/t0504-email-avatar.sh index ccda85a..b584f3e 100755 --- a/tests/t0504-email-avatar.sh +++ b/tests/t0504-email-avatar.sh @@ -66,9 +66,9 @@ test_expect_success CGIT_LUA 'point cgit at it through the email filter' ' # The address behind the hash is author@example.com, the identity the test # library commits under. test_expect_success CGIT_LUA_OSSL 'the commit page draws the author icon' ' - cgit_url "avatar/commit/" >tmp && - grep "gravatar.com/avatar/b0eda69977c26118feff17875d53376006568bcbcde5ca0c916d01f05c281436" tmp && - grep "loading=.lazy." tmp + cgit_ok_url "avatar/commit/" >tmp && + test_grep "gravatar.com/avatar/b0eda69977c26118feff17875d53376006568bcbcde5ca0c916d01f05c281436" tmp && + test_grep "loading=.lazy." tmp ' test_expect_success CGIT_LUA_NOOSSL 'without luaossl the page keeps the name alone' ' |
