summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-07-19 09:55:34 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-07-23 20:55:04 +0200
commit87724986e6e9315a1ba20211e0d51882713ba259 (patch)
tree31ac9f5d44af161168bc96259338b0be0089337f /test
parent6e3893f7cd303c40b4f40f2095748bdf6da34e00 (diff)
Test: fix git init check in RangeExpressions
Diffstat (limited to 'test')
-rw-r--r--test/script/run.et7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/script/run.et b/test/script/run.et
index 1c3ca96..c057a8f 100644
--- a/test/script/run.et
+++ b/test/script/run.et
@@ -902,7 +902,7 @@ test RangeExpressions:
git rev-parse HEAD
git rev-parse HEAD^{tree}
- git reset --hard HEAD~4
+ git reset --hard HEAD~5
git rev-parse HEAD
expect /([0-9a-f]+)/ from git_init capture c_init
@@ -918,6 +918,8 @@ test RangeExpressions:
expect /([0-9a-f]+)/ from git_init capture te
expect /([0-9a-f]+)/ from git_init capture c_end
+ guard (c_init == c_end)
+
local:
spawn on n as p args [ "run", "--rerun-all", "$ce:" ] killwith SIGINT
expect from p:
@@ -942,6 +944,9 @@ test RangeExpressions:
local:
spawn on n as p args [ "run", "--rerun-all", "master..$cc" ] killwith SIGINT
expect from p:
+ /job-enqueue $ta.single/
+ /job-start $ta.single/
+ /job-finish $ta.single done/
/job-enqueue $tb.single/
/job-start $tb.single/
/job-finish $tb.single done/