Skip to content

Commit

Permalink
test: reproduce syntax error as in #4230
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg committed Oct 11, 2021
1 parent f4cb1b5 commit 9bc1a03
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/blackbox-tests/test-cases/gh4230.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Syntax error inside a cram command
$ mkdir foo && cd foo
$ cat >dune-project <<EOF
> (lang dune 3.0)
> EOF

$ cat >t1.t <<EOF
> $ foo-bar() { true; }
> EOF

$ dune runtest --auto-promote
sh (internal) (exit 2)
(cd _build/.sandbox/cdb38568b2ab5eaeeab253debbcff1a1/default && /run/current-system/sw/bin/sh /var/folders/nc/x9_nmmsj0rjbfyzxb_kjk6qr0000gn/T/build_75e3fc_dune/dune_cram_b748db_.t1.t/main.sh)
-> required by alias runtest
[1]

0 comments on commit 9bc1a03

Please sign in to comment.