Skip to content

Commit

Permalink
reftests: update set env test
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Oct 15, 2021
1 parent a19c26c commit 36c9ce3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/reftests/env.test
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ Switch invariant: ["nv"]
Done.
### opam env | grep "NV_VARS" | '[:;]' -> '-' | '[:;]' -> '-' | '[:;]' -> '-'
NV_VARS='${BASEDIR}/OPAM/setenv/doc/nv-${OPAMTMP}/OPAM/setenv/share/nv'- export NV_VARS-
### opam exec -- opam env --revert | grep "NV_VARS"
### opam exec -- opam env --revert | grep "NV_VARS" | '[:;]' -> '-' | '[:;]' -> '-' | '[:;]' -> '-'
NV_VARS=''- export NV_VARS-
### NV_VARS=/another/path
### opam env | grep "NV_VARS" | '[:;]' -> '-' | '[:;]' -> '-' | '[:;]' -> '-'
NV_VARS='${BASEDIR}/OPAM/setenv/doc/nv-${OPAMTMP}/OPAM/setenv/share/nv-/another/path'- export NV_VARS-
### opam exec -- opam env --revert | grep "NV_VARS"
### opam exec -- opam env --revert | grep "NV_VARS" | '[:;]' -> '-'
NV_VARS='/another/path'- export NV_VARS-

0 comments on commit 36c9ce3

Please sign in to comment.