aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser/include.test
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/parser/include.test')
-rw-r--r--unit-tests/test/script/parser/include.test12
1 files changed, 8 insertions, 4 deletions
diff --git a/unit-tests/test/script/parser/include.test b/unit-tests/test/script/parser/include.test
index 7910919..c810036 100644
--- a/unit-tests/test/script/parser/include.test
+++ b/unit-tests/test/script/parser/include.test
@@ -1,3 +1,7 @@
+# file : unit-tests/test/script/parser/include.test
+# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
: none
:
$* <<EOI
@@ -7,7 +11,7 @@ EOI
: empty
:
-touch foo.test &foo.test; #@@ TMP
+touch foo.test;
$* <<EOI
.include foo.test
.include --once foo.test
@@ -93,8 +97,8 @@ EOE
: unable-open
:
-: Note that the error message is platform specific.
-:
-$* <<EOI 2>- != 0
+$* <<EOI 2>>~/EOE/ != 0
.include foo.test
EOI
+/testscript:1:2: error: unable to read testscript foo.test: .+/
+EOE