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
dra27 committed May 15, 2024
1 parent 7e7388c commit 81220db
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 @@ -24,7 +24,7 @@ Done.
### : MSVC)
### opam env --shell=cmd | grep "PATH" | 'XXX:.*' -> '' | 'set "P' -> 'set P'
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:\' | 'set "P' -> 'set P'
### : Test for #5838
### opam env | grep MANPATH
Expand Down

0 comments on commit 81220db

Please sign in to comment.