1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +01:00

Add test for systemwide config file support

There is now a new stage in the CICD workflow present, which will build
`bat` with the `BAT_SYSTEM_CONFIG_PREFIX` set to load the config file
from `/tests/examples/system_config/bat/config`, plus a basic set of
tests, to ensure the feature is working as expected. By default the
tests are set to ignored, as they need special setup before they can be
run.
This commit is contained in:
Patrick Pichler
2021-10-28 13:52:59 +02:00
parent 5ed64444e3
commit 6b660ef63a
7 changed files with 103 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
# Make sure that the pager gets executed
--paging=always
# Output a dummy message for the integration test.
# Output a dummy message for the integration test and system wide config test.
--pager="echo dummy-pager-from-config"

View File

@@ -0,0 +1,5 @@
# Make sure that the pager gets executed
--paging=always
# Output a dummy message for the integration test.
--pager="echo dummy-pager-from-system-config"