adoroszlai opened a new pull request, #8290:
URL: https://github.com/apache/ozone/pull/8290
## What changes were proposed in this pull request?
Fix `bad substitution` in bats test:
```
1..5
Using Docker Compose v2
/home/runner/work/ozone/ozone/hadoop-ozone/dist/src/test/shell/../../main/compose/testlib.sh:
line 37: ${ozone.version}: bad substitution
Using Docker Compose v2
/home/runner/work/ozone/ozone/hadoop-ozone/dist/src/test/shell/../../main/compose/testlib.sh:
line 37: ${ozone.version}: bad substitution
ok 1 Find test recursive, only on one level
Using Docker Compose v2
/home/runner/work/ozone/ozone/hadoop-ozone/dist/src/test/shell/../../main/compose/testlib.sh:
line 37: ${ozone.version}: bad substitution
ok 2 Find tests without explicit filter
Using Docker Compose v2
/home/runner/work/ozone/ozone/hadoop-ozone/dist/src/test/shell/../../main/compose/testlib.sh:
line 37: ${ozone.version}: bad substitution
ok 3 Find test by suite
Using Docker Compose v2
/home/runner/work/ozone/ozone/hadoop-ozone/dist/src/test/shell/../../main/compose/testlib.sh:
line 37: ${ozone.version}: bad substitution
ok 4 Find failing test suite explicitly
Using Docker Compose v2
/home/runner/work/ozone/ozone/hadoop-ozone/dist/src/test/shell/../../main/compose/testlib.sh:
line 37: ${ozone.version}: bad substitution
ok 5 Find test default suite
```
This is just a cosmetic issue, test passes anyway.
https://issues.apache.org/jira/browse/HDDS-12773
## How was this patch tested?
```
$ ./hadoop-ozone/dev-support/checks/bats.sh
...
1..5
Using Docker Compose v2
Using Docker Compose v2
ok 1 Find test recursive, only on one level
Using Docker Compose v2
ok 2 Find tests without explicit filter
Using Docker Compose v2
ok 3 Find test by suite
Using Docker Compose v2
ok 4 Find failing test suite explicitly
Using Docker Compose v2
ok 5 Find test default suite
...
```
https://github.com/adoroszlai/ozone/actions/runs/14474768804
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]