aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/recipe/buildscript/testscript22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/recipe/buildscript/testscript b/tests/recipe/buildscript/testscript
index 26718df..551f64a 100644
--- a/tests/recipe/buildscript/testscript
+++ b/tests/recipe/buildscript/testscript
@@ -85,3 +85,25 @@
$* clean 2>-
}
+
+: diff-label
+:
+{
+ echo 'bar' >=bar;
+
+ cat <<EOI >=buildfile;
+ foo: bar
+ {{
+ echo 'baz' >? $path($<)
+ }}
+ EOI
+
+ $* 2>>/~%EOE% != 0;
+ %.+
+ %--- .+/bar%
+ +++ stdout
+ %.+
+ EOE
+
+ $* clean 2>-
+}