From d0c84fdd7a3d7dae55a56f6f64c527feec73acda Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Wed, 3 Sep 2025 15:46:40 +0200 Subject: [PATCH 1/2] prevent issue with different dir --- ci/expect_scripts/dir.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/expect_scripts/dir.exp b/ci/expect_scripts/dir.exp index c5e1f19..733d8e1 100644 --- a/ci/expect_scripts/dir.exp +++ b/ci/expect_scripts/dir.exp @@ -7,7 +7,7 @@ set timeout 7 spawn $env(EXAMPLES_DIR)dir -expect -re {The current working directory is .*/basic-webserver\r\n} { +expect -re {The current working directory is .*/basic-webserver.*\r\n} { expect "Set cwd to examples/\r\n" { expect "The paths are;\r\n" { expect -re {.*dir\.roc.*} { From 84fe90d779c26ec8928db2c4a67ccab94c0ed796 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Wed, 3 Sep 2025 16:46:47 +0200 Subject: [PATCH 2/2] fix regex --- ci/expect_scripts/dir.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/expect_scripts/dir.exp b/ci/expect_scripts/dir.exp index 733d8e1..b36ad10 100644 --- a/ci/expect_scripts/dir.exp +++ b/ci/expect_scripts/dir.exp @@ -7,7 +7,7 @@ set timeout 7 spawn $env(EXAMPLES_DIR)dir -expect -re {The current working directory is .*/basic-webserver.*\r\n} { +expect -re {The current working directory is .*/basic-webserver[^\r]*\r\n} { expect "Set cwd to examples/\r\n" { expect "The paths are;\r\n" { expect -re {.*dir\.roc.*} {