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:
parent
b377dc5de8
commit
889e1ae13e
@ -6,7 +6,6 @@ proc setup {} {
|
|||||||
proc teardown {} {
|
proc teardown {} {
|
||||||
assert_env_unmodified {
|
assert_env_unmodified {
|
||||||
/OLDPWD=/d
|
/OLDPWD=/d
|
||||||
/BASH_REMATCH=/d
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user