From 071264c6c4ef5c43335deaa9b19b6f233f7c136c Mon Sep 17 00:00:00 2001 From: William Roberts Date: Tue, 11 Aug 2020 09:42:20 -0500 Subject: [PATCH] ci: fix stall on git log -1 git log -1 may use a pager to output long messages, and when the pager is invoked, leads to stalls on the ci system waiting for user input. Use --oneline to print the short part of the commit message and the digest. This information is for debug/informational purposes only, so truncating the output is sufficient. Reported-by: Stephen Smalley Signed-off-by: William Roberts --- scripts/ci/fedora-test-runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/fedora-test-runner.sh b/scripts/ci/fedora-test-runner.sh index 0aaba87c..78218963 100755 --- a/scripts/ci/fedora-test-runner.sh +++ b/scripts/ci/fedora-test-runner.sh @@ -67,7 +67,7 @@ dnf install -y \ cd "$SELINUX_DIR" # Show HEAD commit for sanity checking -git log -1 +git log --oneline -1 # # Build and replace userspace components