Skip to content

Commit 9a64074

Browse files
committed
Make test illustrate quoting better
Signed-off-by: Ulysse Gérard <[email protected]>
1 parent c0ba56e commit 9a64074

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
$ dune build
2-
$ dune ocaml dump-dot-merlin |
2+
$ dune ocaml dump-dot-merlin src\ with\ spaces |
33
> sed 's#'$(opam config var prefix)'#OPAM_PREFIX#'
44
EXCLUDE_QUERY_DIR
55
STDLIB OPAM_PREFIX/lib/ocaml
6-
B $TESTCASE_ROOT/_build/default/.foo.eobjs/byte
7-
S $TESTCASE_ROOT
8-
# FLG -pp $TESTCASE_ROOT/_build/default/pp/pp.exe
6+
B $TESTCASE_ROOT/_build/default/src with spaces/.foo.eobjs/byte
7+
S $TESTCASE_ROOT/src with spaces
8+
# FLG -pp ''\''$TESTCASE_ROOT/_build/default/p p/pp.exe'\'''
99
# FLG -open Dune__exe -w @[email protected]@30..39@[email protected]@[email protected] -strict-sequence -strict-formats -short-paths -keep-locs
1010
11-
$ dune ocaml dump-dot-merlin "pp" |
11+
$ dune ocaml dump-dot-merlin "p p" |
1212
> sed 's#'$(opam config var prefix)'#OPAM_PREFIX#'
1313
EXCLUDE_QUERY_DIR
1414
STDLIB OPAM_PREFIX/lib/ocaml
15-
B $TESTCASE_ROOT/_build/default/pp/.pp.eobjs/byte
16-
S $TESTCASE_ROOT/pp
15+
B $TESTCASE_ROOT/_build/default/p p/.pp.eobjs/byte
16+
S $TESTCASE_ROOT/p p
1717
# FLG -w @[email protected]@30..39@[email protected]@[email protected] -strict-sequence -strict-formats -short-paths -keep-locs
1818
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
(executables (names foo bar)
22
(preprocess (per_module
3-
((action (run pp/pp.exe %{input-file})) bar))))
3+
((action (run "p p/pp.exe"%{input-file})) bar))))

0 commit comments

Comments
 (0)