Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Ask for a url through cgit_url everywhere
Diffstat (limited to '')
-rwxr-xr-xtests/t0109-patch.sh6
1 file changed, 3 insertions, 3 deletions
diff --git a/tests/t0109-patch.sh b/tests/t0109-patch.sh
index 52f2abc..f37a23e 100755
--- a/tests/t0109-patch.sh
+++ b/tests/t0109-patch.sh
@@ -18,7 +18,7 @@ check_cgit_signature() {
}
test_expect_success 'generate foo/patch' '
- cgit_query "url=foo/patch" >tmp
+ cgit_url "foo/patch" >tmp
'
test_expect_success 'compare with output of git-format-patch(1)' '
@@ -33,7 +33,7 @@ test_expect_success 'find initial commit' '
'
test_expect_success 'generate patch for initial commit' '
- cgit_query "url=foo/patch&id=$root" >tmp
+ cgit_url "foo/patch&id=$root" >tmp
'
test_expect_success 'find `cgit` signature on the initial commit' '
@@ -43,7 +43,7 @@ test_expect_success 'find `cgit` signature on the initial commit' '
test_expect_success 'generate patches for multiple commits' '
id=$(git --git-dir="$PWD/repos/foo/.git" rev-parse HEAD) &&
id2=$(git --git-dir="$PWD/repos/foo/.git" rev-parse HEAD~3) &&
- cgit_query "url=foo/patch&id=$id&id2=$id2" >tmp
+ cgit_url "foo/patch&id=$id&id2=$id2" >tmp
'
test_expect_success 'compare the range with git-format-patch(1)' '