summaryrefslogtreecommitdiff
path: root/util/gitconfig/test/commit-message-hook.sh
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2021-01-27 12:18:04 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-01-28 12:32:07 +0000
commite3ecc2964ed494c8e020d7bc67254cdc050360e9 (patch)
treed41074924155f897a7edd154c48ae882b0bcc65a /util/gitconfig/test/commit-message-hook.sh
parentf9e24ddf8687ef0077e4686931cd30cbe0376a03 (diff)
gitconfig/test: Adapt test to current tree layout
The test expects a README file to exist under revision control, but we converted it to markdown, together with a rename over 2 years ago in commit ee8780eb7880477. Change-Id: I7768e116a10cb373ca35fa1c874a5949dabaa111 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49982 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/gitconfig/test/commit-message-hook.sh')
-rwxr-xr-xutil/gitconfig/test/commit-message-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/gitconfig/test/commit-message-hook.sh b/util/gitconfig/test/commit-message-hook.sh
index f231f1425e..bdc555b45a 100755
--- a/util/gitconfig/test/commit-message-hook.sh
+++ b/util/gitconfig/test/commit-message-hook.sh
@@ -55,7 +55,7 @@ git clone "$(git rev-parse --show-toplevel)" "${clone_dir}" \
# test
echo "good case..."
log_file="${base_dir}/good_case.log"
- echo "this is a test" >> README
+ echo "this is a test" >> README.md
timeout 4m git commit --all --signoff --message="good case" \
1>"${log_file}" 2>&1 \
|| check_exit_code positive "${log_file}"