Skip to content

Commit

Permalink
Add test for ocaml#5838
Browse files Browse the repository at this point in the history
MANPATH should appear in opam env --revert
  • Loading branch information
dra27 committed May 15, 2024
1 parent 199a4b7 commit f16bbc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ users)
* Update opam root version test with root version bump [#5904 @rjbou]
* env tests: use `sort` to increase stability of the `opam env` output [#5935 @dra27 @rjbou]
* env.win32: add mixed slashes test [#5935 @dra27]
* env.win32: add test for environment revert not working correctly for Unix-like variables on Windows [#5935 @dra27]

### Engine
* Add `sort` command [#5935 @dra27]
Expand Down
4 changes: 4 additions & 0 deletions tests/reftests/env.win32.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
N0REP0
### : setenv & build env rewriting :
### opam switch create rewriting --empty
### : Test for #5838
### opam env | grep MANPATH
MANPATH=':"${BASEDIR}/OPAM/rewriting/man"'; export MANPATH;
### opam exec -- opam env --revert | grep MANPATH
### : Tests forward and backslash rewriting on revert
### : This sequence of updates is what presently happens with the compiler
### <pkg:mixed-updates.1>
Expand Down

0 comments on commit f16bbc1

Please sign in to comment.