]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: add function to inhibit loading of custom colorschemes
authorThomas Weißschuh <thomas@t-8ch.de>
Thu, 23 Feb 2023 02:37:55 +0000 (02:37 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 23 Feb 2023 02:39:22 +0000 (02:39 +0000)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/functions.sh

index 25f988fc640746d9676e6b2b5e0740439fa356cc..2f02af328ae16cd3a834a07ac33b013d5a5cc997 100644 (file)
@@ -1125,3 +1125,7 @@ function ts_skip_exitcode_not_supported {
                ts_skip "functionality not implemented by system"
        fi
 }
+
+function ts_inhibit_custom_colorscheme {
+       export XDG_CONFIG_HOME=/dev/null
+}