diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-10-25 23:50:46 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-10-25 23:50:46 +0300 |
commit | 889e1ae13ebb21ff1779bbcc454daffeb6d83ccd (patch) | |
tree | d3569623a546c932293af7dd8d59393cec8b0726 | |
parent | b377dc5de84913b69efa325590e9d0bb97d02128 (diff) | |
download | bash-completion-889e1ae13ebb21ff1779bbcc454daffeb6d83ccd.tar.gz |
testsuite: Ignore BASH_REMATCH in env unmodified check.
_init_completion uses =~ now so it's going to change just about everywhere.
-rw-r--r-- | test/lib/completions/ant.exp | 1 | ||||
-rw-r--r-- | test/lib/library.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/lib/completions/ant.exp b/test/lib/completions/ant.exp index a5f022ac..acff23ec 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 90ecdf9e..290ec813 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() |