aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-10-13 14:59:28 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-10-13 15:09:47 +0300
commit9e15fc723325857027daacac34dba1245e805232 (patch)
treef1d09c20d97c69603c304ec2c43966c6756a62d9
parent21d12900fd08b7c2e33626803d094f44f269ae19 (diff)
Fix script 'for' loop tests
-rw-r--r--tests/recipe/buildscript/testscript2
-rw-r--r--tests/test/script/runner/for.testscript4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/recipe/buildscript/testscript b/tests/recipe/buildscript/testscript
index 531baa9..c92de8f 100644
--- a/tests/recipe/buildscript/testscript
+++ b/tests/recipe/buildscript/testscript
@@ -1333,7 +1333,7 @@ if $posix
$* 2>>~%EOE% != 0;
gen file{foo.}
buildfile:8:3: error: for: ':' after variable name
- %.{3}
+ %.+
EOE
$* clean 2>-
diff --git a/tests/test/script/runner/for.testscript b/tests/test/script/runner/for.testscript
index 054e9ab..5c1133d 100644
--- a/tests/test/script/runner/for.testscript
+++ b/tests/test/script/runner/for.testscript
@@ -167,7 +167,7 @@
end
EOI
testscript:1:1: error: for: unknown option '-a'
- %.
+ %.+
EOE
@@ -179,7 +179,7 @@
end
EOI
testscript:1:1: error: for: missing variable name
- %.
+ %.+
EOE
: special-var