testsuite: Ignore BASH_REMATCH in env unmodified check.

_init_completion uses =~ now so it's going to change just about everywhere.
This commit is contained in:
Ville Skyttä 2011-10-25 23:50:46 +03:00
parent b377dc5de8
commit 889e1ae13e
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,6 @@ proc setup {} {
proc teardown {} { proc teardown {} {
assert_env_unmodified { assert_env_unmodified {
/OLDPWD=/d /OLDPWD=/d
/BASH_REMATCH=/d
} }
} }

View File

@ -22,6 +22,8 @@ diff_env() {
/[<>] _=/d /[<>] _=/d
# Remove PPID bash variable # Remove PPID bash variable
/[<>] PPID=/d /[<>] PPID=/d
# Remove BASH_REMATCH bash variable
/[<>] BASH_REMATCH=/d
$3" $3"
} # diff_env() } # diff_env()