Skip to content

Commit

Permalink
Add repro of gh10440
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Sherratt <stephen@sherra.tt>
  • Loading branch information
gridbugs committed Apr 18, 2024
1 parent d6a0e9c commit e8c071b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/blackbox-tests/test-cases/pkg/withenv.t
Expand Up @@ -13,10 +13,17 @@ Setting environment variables in actions
> (= BAR xxx)
> (+= BAR yyy)
> (:= BAR "")
> (+= BAR ""))
> (system "echo XYZ=$XYZ; echo FOO=$FOO; echo BAR=$BAR")))
> (+= BAR "")
> (:= BAZ baz)
> (=: QUX qux))
> (system "echo XYZ=$XYZ; echo FOO=$FOO; echo BAR=$BAR; echo BAZ=$BAZ; echo QUX=$QUX")))
> EOF
$ build_pkg test
XYZ=111:000
FOO=myfoo
BAR=yyy:xxx
BAZ=baz
QUX=qux
Note that the value so of BAZ and QUX above should be "baz:" and ":qux" respectively.
See https://github.com/ocaml/dune/issues/10440

0 comments on commit e8c071b

Please sign in to comment.