N0REP0
### OPAMYES=1 OPAMSTRICT=0
### <pkg:d.4>
opam-version: "2.0"
### opam switch create resolving --empty
### <pkg:foo.1>
opam-version: "2.0"
depends: "d" {> build}
### opam install foo
[WARNING] Undefined filter variable build in dependencies of foo.1
The following actions will be performed:
=== install 1 package
  - install foo 1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed foo.1
Done.
### <pkg:foo.1>
opam-version: "2.0"
depends: "d" {build}
### opam switch create resolving2 --empty
### opam install foo
The following actions will be performed:
=== install 2 packages
  - install d   4 [required by foo]
  - install foo 1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed d.4
-> installed foo.1
Done.
### <pkg:foo.1>
opam-version: "2.0"
depends: "d" {> "1" & > build}
### opam switch create resolving3 --empty
### opam install foo
[WARNING] Undefined filter variable build in dependencies of foo.1
The following actions will be performed:
=== install 1 package
  - install foo 1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed foo.1
Done.
### <pkg:foo.1>
opam-version: "2.0"
depends: "d" {> undef}
### opam switch create resolving4 --empty
### opam install foo
[WARNING] Undefined filter variable undef in dependencies of foo.1
The following actions will be performed:
=== install 1 package
  - install foo 1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed foo.1
Done.
### <pkg:foo.1>
opam-version: "2.0"
depends: "d" {undef}
### opam switch create resolving5 --empty
### opam install foo
The following actions will be performed:
=== install 1 package
  - install foo 1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed foo.1
Done.
### <pkg:foo.1>
opam-version: "2.0"
depends: "d" {> defin}
### opam switch create resolving6 --empty
### OPAMVAR_defin=2 opam install foo
The following actions will be performed:
=== install 2 packages
  - install d   4 [required by foo]
  - install foo 1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed d.4
-> installed foo.1
Done.
### OPAMYES=1 OPAMSTRICT=1
### <REPO2/packages/undef/undef.1/opam>
opam-version: "2.0"
depends: "d" {?undefined-global & undefined-global != ""}
### <REPO2/repo>
opam-version: "2.0"
### opam switch create undefined-globals --empty
### opam repository add second ./REPO2 --this-switch
[second] Initialised
### opam repo remove default --this-switch
### opam install undef
The following actions will be performed:
=== install 1 package
  - install undef 1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed undef.1
Done.
