From e3ecc2964ed494c8e020d7bc67254cdc050360e9 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 27 Jan 2021 12:18:04 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49982 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Angel Pons --- util/gitconfig/test/commit-message-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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}" -- cgit v1.2.3