aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/dependency/recipe/testscript5
-rw-r--r--tests/recipe/buildscript/testscript19
2 files changed, 23 insertions, 1 deletions
diff --git a/tests/dependency/recipe/testscript b/tests/dependency/recipe/testscript
index 7616412..1d30207 100644
--- a/tests/dependency/recipe/testscript
+++ b/tests/dependency/recipe/testscript
@@ -845,8 +845,11 @@ EOE
% .+alias\{x\}:%
% perform(update)
{{
+ rm a
+ echo b | set c
diag bar
- %.{4}
+ fo$v
+ }}
EOE
}
}
diff --git a/tests/recipe/buildscript/testscript b/tests/recipe/buildscript/testscript
index c92de8f..c473b0d 100644
--- a/tests/recipe/buildscript/testscript
+++ b/tests/recipe/buildscript/testscript
@@ -182,6 +182,25 @@ posix = ($cxx.target.class != 'windows')
$* clean 2>-
}
+ : diag
+ :
+ {
+ cat <<EOI >=buildfile;
+ foo:
+ {{
+ v1 = foo
+ echo bar | set v2
+ diag $v1 $v2 $>
+ echo "$v1 $v2" >$path($>)
+ }}
+ EOI
+
+ $* 2>'foo bar file{foo.}';
+ cat <<<foo >'foo bar';
+
+ $* clean 2>-
+ }
+
: depdb
:
{