diff --git a/tests/reftests/env.win32.test b/tests/reftests/env.win32.test index 117078b07dd..2c40480f02b 100644 --- a/tests/reftests/env.win32.test +++ b/tests/reftests/env.win32.test @@ -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 ] @@ -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