Skip to content

Commit fd9655c

Browse files
committed
reftest: update opamroot version test
1 parent 0fac780 commit fd9655c

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

tests/reftests/opamroot-versions.test

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2908,11 +2908,11 @@ RSTATE Cache found
29082908
Run `opam repository add root-config --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.
29092909

29102910
### # rw global state
2911-
### opam option jobs=4 | "${OPAMROOTVERSION}$" -> "current"
2911+
### opam option jobs=4 | "${OPAMROOTVERSION}($|,)" -> "current"
29122912
GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM
29132913
[WARNING] Removing global switch 'this-internal-error' as it no longer exists
29142914
FMT_UPG Light config upgrade, from 2.2~beta to current
2915-
This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.2~beta to version 2.2, which can't be reverted.
2915+
This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.2~beta to version current which can't be reverted.
29162916
You may want to back it up before going further.
29172917

29182918
Continue? [Y/n] y
@@ -2979,11 +2979,11 @@ The following actions will be performed:
29792979
STATE dependencies (0.000) result={ i-am-sys-compiler.2 }
29802980
Done.
29812981
### # rw global state
2982-
### opam option jobs=4 | "${OPAMROOTVERSION}$" -> "current"
2982+
### opam option jobs=4 | "${OPAMROOTVERSION}($|,)" -> "current"
29832983
GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM
29842984
[WARNING] Removing global switch 'this-internal-error' as it no longer exists
29852985
FMT_UPG Light config upgrade, from 2.2~beta to current
2986-
This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.2~beta to version 2.2, which can't be reverted.
2986+
This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.2~beta to version current which can't be reverted.
29872987
You may want to back it up before going further.
29882988

29892989
Continue? [Y/n] y
@@ -3050,11 +3050,11 @@ The following actions will be performed:
30503050
STATE dependencies (0.000) result={ i-am-sys-compiler.2 }
30513051
Done.
30523052
### # rw global state
3053-
### opam option jobs=4 | "${OPAMROOTVERSION}$" -> "current"
3053+
### opam option jobs=4 | "${OPAMROOTVERSION}($|,)" -> "current"
30543054
GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM
30553055
[WARNING] Removing global switch 'this-internal-error' as it no longer exists
30563056
FMT_UPG Light config upgrade, from 2.2~beta to current
3057-
This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.2~beta to version 2.2, which can't be reverted.
3057+
This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.2~beta to version current which can't be reverted.
30583058
You may want to back it up before going further.
30593059

30603060
Continue? [Y/n] y
@@ -3122,11 +3122,11 @@ The following actions will be performed:
31223122
STATE dependencies (0.000) result={ i-am-sys-compiler.2 }
31233123
Done.
31243124
### # rw global state
3125-
### opam option jobs=4 | "${OPAMROOTVERSION}$" -> "current"
3125+
### opam option jobs=4 | "${OPAMROOTVERSION}($|,)" -> "current"
31263126
GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM
31273127
[WARNING] Removing global switch 'this-internal-error' as it no longer exists
31283128
FMT_UPG Light config upgrade, from 2.2~beta to current
3129-
This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.2~beta to version 2.2, which can't be reverted.
3129+
This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.2~beta to version current which can't be reverted.
31303130
You may want to back it up before going further.
31313131

31323132
Continue? [Y/n] y
@@ -3162,12 +3162,12 @@ opam-version: "2.0"
31623162
roots: ["i-am-package.2" "i-am-sys-compiler.2"]
31633163
### :V:7:e: reinit from 2.2~beta
31643164
### ocaml generate.ml 2.2~beta
3165-
### opam init --reinit --bypass-checks --no-setup | grep -v Cygwin
3165+
### opam init --reinit --bypass-checks --no-setup | "${OPAMROOTVERSION}($|,)" -> "current" | grep -v Cygwin
31663166
No configuration file found, using built-in defaults.
31673167
GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM
31683168
[WARNING] Removing global switch 'this-internal-error' as it no longer exists
3169-
FMT_UPG Light config upgrade, from 2.2~beta to 2.2
3170-
This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.2~beta to version 2.2, which can't be reverted.
3169+
FMT_UPG Light config upgrade, from 2.2~beta to current
3170+
This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.2~beta to version current which can't be reverted.
31713171
You may want to back it up before going further.
31723172

31733173
Continue? [Y/n] y

0 commit comments

Comments
 (0)