Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Write the remaining config copies with cgitrc_copy
Diffstat (limited to 'tests/t0109-patch.sh')
-rwxr-xr-xtests/t0109-patch.sh5
1 file changed, 1 insertion, 4 deletions
diff --git a/tests/t0109-patch.sh b/tests/t0109-patch.sh
index 18ed501..bc942fe 100755
--- a/tests/t0109-patch.sh
+++ b/tests/t0109-patch.sh
@@ -65,10 +65,7 @@ test_expect_success 'max-patch-count bounds a patch range' '
'
test_expect_success 'the signature names the version when asked to' '
- {
- echo "enable-version-info=1" &&
- sed "s/^cache-size=.*/cache-size=0/" cgitrc
- } >versionrc &&
+ cgitrc_copy versionrc enable-version-info=1 &&
cgit_rc versionrc "url=foo/patch" >tmp &&
check_cgit_signature "$CGIT_VERSION"
'