From fca95dafaaab44d3e06e10bc9f3b45d00c82301f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 2 Nov 2022 22:22:09 +0300 Subject: Use diag_buffer in script --- tests/recipe/buildscript/testscript | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'tests/recipe') diff --git a/tests/recipe/buildscript/testscript b/tests/recipe/buildscript/testscript index 4299fb5..181970d 100644 --- a/tests/recipe/buildscript/testscript +++ b/tests/recipe/buildscript/testscript @@ -67,7 +67,7 @@ posix = ($cxx.target.class != 'windows') $* 2>>~%EOE% != 0; concat file{bar.} %cat: unable to print '.+bar.baz': .+% - buildfile:10:3: error: cat exited with code 1 + buildfile:10:3: error: builtin cat exited with code 1 %.+ EOE @@ -789,7 +789,8 @@ if $posix $* 2>>~%EOE% != 0; update file{foo} - buildfile:6:3: error: ^sleep terminated: execution timeout expired + buildfile:6:3: error: process ^sleep terminated: execution timeout expired + info: command line: sleep 5 info: while updating file{foo} %.+ EOE @@ -842,14 +843,16 @@ if $posix $* test config.test.timeout=1 2>>~%EOE% != 0; cp file{foo} test file{foo} - buildfile:7:3: error: ^sleep terminated: execution timeout expired + buildfile:7:3: error: process ^sleep terminated: execution timeout expired + info: command line: sleep 5 info: while testing file{foo} %.+ EOE $* test config.test.timeout=/1 2>>~%EOE% != 0; test file{foo} - buildfile:7:3: error: ^sleep terminated: execution timeout expired + buildfile:7:3: error: process ^sleep terminated: execution timeout expired + info: command line: sleep 5 info: while testing file{foo} %.+ EOE -- cgit v1.1