Fix export test on openSUSE

openSUSE defines a MANPATHSET variable, so make the match a bit tighter
This commit is contained in:
David Adam
2025-12-17 10:27:24 +08:00
parent 1d3aca2b44
commit f0b4921ccf

View File

@@ -30,7 +30,7 @@ set -S MANPATH
# CHECK: $MANPATH[2]: |/some/other/path|
## Test that it's exported properly.
env | string match 'MANPATH*'
env | string match 'MANPATH=*'
# CHECK: MANPATH=/some/path:/some/other/path
} | string match -v '*originally inherited*'