Skip to content

Commit

Permalink
Extend the ocaml#4861 test to include a quoted dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed May 10, 2024
1 parent 8679d29 commit 532158f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/reftests/env.win32.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ N0REP0
opam-version: "2.0"
setenv: [
[ PATH += "XXX:\\" ]
[ PATH += "C:\\Devel\\bin1;C:\\Devel\\bin2;C:\\Devel\\bin3;C:\\Devel\\bin4;ZZZ:\\" ]
[ PATH += "C:\\Devel\\bin1;C:\\Devel\\bin2;\"C:\\Devel\\bin3;\";C:\\Devel\\bin4;ZZZ:\\" ]
]
x-env-path-rewrite: [
[ PATH false ]
Expand All @@ -21,7 +21,7 @@ The following actions will be performed:
Done.
### opam env --shell=cmd | grep "PATH" | 'XXX:.*' -> ''
set "MANPATH=:"${BASEDIR}/OPAM/rewriting/man""
set PATH=${BASEDIR}/OPAM/rewriting/bin;C:\Devel\bin1;C:\Devel\bin2;C:\Devel\bin3;C:\Devel\bin4;ZZZ:\;
set "PATH=${BASEDIR}/OPAM/rewriting/bin;C:\Devel\bin1;C:\Devel\bin2;"C:\Devel\bin3;";C:\Devel\bin4;ZZZ:\;
### opam exec -- opam env --shell=cmd --revert | grep 'ZZZ:' | 'ZZZ:\\.*' -> 'ZZZ:\'
### : Test for #5838
### opam env | grep MANPATH
Expand Down

0 comments on commit 532158f

Please sign in to comment.