[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-477-g889e1ae
Ville Skyttä
ville.skytta at iki.fi
Tue Oct 25 20:52:01 UTC 2011
The following commit has been merged in the master branch:
commit 889e1ae13ebb21ff1779bbcc454daffeb6d83ccd
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Tue Oct 25 23:50:46 2011 +0300
testsuite: Ignore BASH_REMATCH in env unmodified check.
_init_completion uses =~ now so it's going to change just about everywhere.
diff --git a/test/lib/completions/ant.exp b/test/lib/completions/ant.exp
index a5f022a..acff23e 100644
--- a/test/lib/completions/ant.exp
+++ b/test/lib/completions/ant.exp
@@ -6,7 +6,6 @@ proc setup {} {
proc teardown {} {
assert_env_unmodified {
/OLDPWD=/d
- /BASH_REMATCH=/d
}
}
diff --git a/test/lib/library.sh b/test/lib/library.sh
index 90ecdf9..290ec81 100644
--- a/test/lib/library.sh
+++ b/test/lib/library.sh
@@ -22,6 +22,8 @@ diff_env() {
/[<>] _=/d
# Remove PPID bash variable
/[<>] PPID=/d
+# Remove BASH_REMATCH bash variable
+ /[<>] BASH_REMATCH=/d
$3"
} # diff_env()
--
bash-completion
More information about the Bash-completion-commits
mailing list