Diff options
Diffstat (limited to 'tests/t0003-cache.sh')
| -rwxr-xr-x | tests/t0003-cache.sh | 5 |
1 file changed, 2 insertions, 3 deletions
diff --git a/tests/t0003-cache.sh b/tests/t0003-cache.sh index 91ed01f..c37b8a2 100755 --- a/tests/t0003-cache.sh +++ b/tests/t0003-cache.sh @@ -205,9 +205,8 @@ test_expect_success 'an error after output began ends the page with it and cache # leave nothing behind, or the real page could never appear once it does. test_expect_success 'an error page leaves no slot behind' ' rm -rf cache3 && mkdir cache3 && - CGIT_CONFIG="$PWD/bigkeyrc" \ - QUERY_STRING="url=bigpage/commit/&id=0123456789abcdef0123456789abcdef01234567" cgit >error.out && - grep "Not a commit" error.out && + cgit_rc bigkeyrc "url=bigpage/commit/&id=$(test_oid deadbeef)" >error.out && + test_grep "Not a commit" error.out && test_dir_is_empty cache3 ' |
