mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-10 00:48:33 +01:00
Add COLORED_STDERR_IGNORED_BINARIES to exclude binaries.
This commit is contained in:
@@ -59,3 +59,20 @@ COLORED_STDERR_FDS=
|
||||
export COLORED_STDERR_FDS
|
||||
test_program example example_environment_empty
|
||||
test_program_subshell example example_environment_empty
|
||||
|
||||
unset COLORED_STDERR_FDS
|
||||
|
||||
|
||||
# Test COLORED_STDERR_IGNORED_BINARIES.
|
||||
|
||||
if test -x /proc/self/exe; then
|
||||
COLORED_STDERR_IGNORED_BINARIES="$abs_builddir/example"
|
||||
export COLORED_STDERR_IGNORED_BINARIES
|
||||
test_program example example_environment_empty
|
||||
test_program_subshell example example_environment_empty
|
||||
|
||||
COLORED_STDERR_IGNORED_BINARIES=",some,other,path,,"
|
||||
export COLORED_STDERR_IGNORED_BINARIES
|
||||
test_program example example_environment
|
||||
test_program_subshell example example_environment
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user