summaryrefslogtreecommitdiff
path: root/test/lib/library.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/library.sh')
-rw-r--r--test/lib/library.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/test/lib/library.sh b/test/lib/library.sh
index 290ec813..0a671595 100644
--- a/test/lib/library.sh
+++ b/test/lib/library.sh
@@ -24,6 +24,8 @@ diff_env() {
/[<>] PPID=/d
# Remove BASH_REMATCH bash variable
/[<>] BASH_REMATCH=/d
+# Remove functions starting with underscore
+ /[<>] declare -f _/d
$3"
} # diff_env()
@@ -62,12 +64,3 @@ is_bash_version_minimal() {
remove_comp_wordbreak_char() {
COMP_WORDBREAKS=${COMP_WORDBREAKS//$1}
} # remove_comp_wordbreak_char()
-
-
-# Local variables:
-# mode: shell-script
-# sh-basic-offset: 4
-# sh-indent-comment: t
-# indent-tabs-mode: nil
-# End:
-# ex: ts=4 sw=4 et filetype=sh