Skip to content

Commit e9c96df

Browse files
committed
test: reproduce syntax error as in ocaml#4230
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
1 parent e03257d commit e9c96df

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Syntax error inside a cram command
2+
$ mkdir foo && cd foo
3+
$ cat >dune-project <<EOF
4+
> (lang dune 3.0)
5+
> EOF
6+
7+
$ cat >t1.t <<EOF
8+
> $ foo-bar() { true; }
9+
> EOF
10+
11+
$ dune runtest --auto-promote
12+
sh (internal) (exit 2)
13+
(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)
14+
-> required by alias runtest
15+
[1]

0 commit comments

Comments
 (0)