Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Move the later tests to the config writers
The one-line request wrappers go with them. Configs with several repositories, a key out of place on purpose, the cache on or no repository of their own stay written out.
Diffstat (limited to 'tests/t0206-trailers.sh')
-rwxr-xr-xtests/t0206-trailers.sh2
1 file changed, 1 insertion, 1 deletion
diff --git a/tests/t0206-trailers.sh b/tests/t0206-trailers.sh
index 61fba94..15c3600 100755
--- a/tests/t0206-trailers.sh
+++ b/tests/t0206-trailers.sh
@@ -87,7 +87,7 @@ test_expect_success 'a message with no block gets no table' '
test_expect_success 'with the flag off the message stays whole' '
sed "s/^enable-commit-trailers=1/enable-commit-trailers=0/" cgitrc >cgitrc-off &&
- CGIT_CONFIG="$PWD/cgitrc-off" QUERY_STRING="url=trailers/commit/" cgit >tmp &&
+ cgit_rc cgitrc-off "url=trailers/commit/" >tmp &&
! grep "commit-trailers" tmp &&
grep "Signed-off-by: A U Thor" tmp
'