From 9e15fc723325857027daacac34dba1245e805232 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 13 Oct 2022 14:59:28 +0300 Subject: Fix script 'for' loop tests --- tests/recipe/buildscript/testscript | 2 +- tests/test/script/runner/for.testscript | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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 -- cgit v1.1