diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-13 00:09:06 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-13 19:07:50 -0500 |
commit | 9067b181acaf3ba111b821709ef4a97413e62cd2 (patch) | |
tree | b936bf2c297b5636c05b4e52957ee88c1cc301e2 | |
parent | 34c5008d7aa24cf7cd201e4ee4cca748a81d5730 (diff) | |
download | automake-9067b181acaf3ba111b821709ef4a97413e62cd2.tar.gz |
tests: disable git log pager usage
When running this code locally, the git log call can trigger a pager
depending on the local settings, which in turn forces the test to be
interactive. Run git with --no-pager to force disable it.
* t/get-sysconf.sh: Run git with --no-pager.
-rw-r--r-- | t/get-sysconf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/get-sysconf.sh b/t/get-sysconf.sh index 11aa48bde..016e60491 100644 --- a/t/get-sysconf.sh +++ b/t/get-sysconf.sh @@ -25,7 +25,7 @@ st=0 if test -d "$am_top_srcdir"/.git; then # We are running from a git checkout. - (cd "$am_top_srcdir" && git log -1) || st=1 + (cd "$am_top_srcdir" && git --no-pager log -1) || st=1 elif test -f "$am_top_srcdir"/ChangeLog; then # We are probably running from a distribution tarball. awk ' |