From bdeef73c29ff2bb6b7b1506061d9ef8e352d4ea8 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Wed, 6 Jun 2018 21:42:53 +0700 Subject: [PATCH] Add test for proper concatenation Signed-off-by: Rudi Grinberg --- test/blackbox-tests/test-cases/quoting/quotes-multi/dune | 4 ++++ test/blackbox-tests/test-cases/quoting/quotes-multi/foo | 3 +++ test/blackbox-tests/test-cases/quoting/run.t | 3 +++ 3 files changed, 10 insertions(+) create mode 100644 test/blackbox-tests/test-cases/quoting/quotes-multi/dune create mode 100644 test/blackbox-tests/test-cases/quoting/quotes-multi/foo diff --git a/test/blackbox-tests/test-cases/quoting/quotes-multi/dune b/test/blackbox-tests/test-cases/quoting/quotes-multi/dune new file mode 100644 index 00000000..3e834869 --- /dev/null +++ b/test/blackbox-tests/test-cases/quoting/quotes-multi/dune @@ -0,0 +1,4 @@ + +(alias + ((name runtest) + (action (echo "lines: ${read-lines:foo}")))) \ No newline at end of file diff --git a/test/blackbox-tests/test-cases/quoting/quotes-multi/foo b/test/blackbox-tests/test-cases/quoting/quotes-multi/foo new file mode 100644 index 00000000..98a86f9e --- /dev/null +++ b/test/blackbox-tests/test-cases/quoting/quotes-multi/foo @@ -0,0 +1,3 @@ +foo +bar +baz \ No newline at end of file diff --git a/test/blackbox-tests/test-cases/quoting/run.t b/test/blackbox-tests/test-cases/quoting/run.t index 17015512..a9e3c98b 100644 --- a/test/blackbox-tests/test-cases/quoting/run.t +++ b/test/blackbox-tests/test-cases/quoting/run.t @@ -25,3 +25,6 @@ The targets should only be interpreted as a single path when quoted Entering directory 'quote-from-context' count_args alias runtest Number of args: 3 + + $ dune runtest --root quotes-multi 2>&1 | grep -v Entering + lines: foo bar baz