Skip to content

Commit

Permalink
fixup! fixup! To squash to previous commit: update of last env handling
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Mar 30, 2023
1 parent 1b46ae1 commit c7a7840
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/reftests/env.test
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ The following actions will be performed:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed foo.1
Done.
### opam exec -- sh -c "eval $(opam env | tr -d '\r'); echo $FOO"
### opam exec -- sh -c "eval $(opam env | tr -d '\\r'); echo $FOO"
--> I'm here
### opam exec -- sh -c "eval $(opam env | tr -d '\r'); opam remove foo; eval $(opam env | tr -d '\r'); echo $FOO"
### opam exec -- sh -c "eval $(opam env | tr -d '\\r'); opam remove foo; eval $(opam env | tr -d '\\r'); echo $FOO"
The following actions will be performed:
=== remove 1 package
- remove foo 1
Expand All @@ -138,7 +138,7 @@ The following actions will be performed:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed foo.1
Done.
### opam exec -- sh -c "eval $(opam env | tr -d '\r'); opam remove foo; opam env; eval $(opam env | tr -d '\r'); opam env" | grep "FOO"
### opam exec -- sh -c "eval $(opam env | tr -d '\\r'); opam remove foo; opam env; eval $(opam env | tr -d '\\r'); opam env" | grep "FOO"
FOO=''; export FOO;
### : root and switch with spaces :
### RT="$BASEDIR/root 2"
Expand Down

0 comments on commit c7a7840

Please sign in to comment.