You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sammi Chen (Jira)" <ji...@apache.org> on 2023/08/30 14:13:00 UTC
[jira] [Resolved] (HDDS-9226) Acceptance test failed locally because of unsupported command style &<<
[ https://issues.apache.org/jira/browse/HDDS-9226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sammi Chen resolved HDDS-9226.
------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> Acceptance test failed locally because of unsupported command style &<<
> -----------------------------------------------------------------------
>
> Key: HDDS-9226
> URL: https://issues.apache.org/jira/browse/HDDS-9226
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Sammi Chen
> Assignee: Sammi Chen
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> The &>> works starting from bash 4.0. For any developer, whose work machine doesn't have bash 4.0+, the following error will be hit.
> sammi@SAMMICHEN-MB0 ozonesecure-ha % ./test-root-ca-rotation.sh
> /Users/sammi/workspace/hadoop-ozone/hadoop-ozone/dist/target/ozone-1.4.0-SNAPSHOT/compose/ozonesecure-ha/../testlib.sh: line 281: syntax error near unexpected token `>'
> Here is the command involved
> docker logs "${c}" &>> "$RESULT_DIR/docker-${output_name}${c}.log"
> Refactor the CMD to make it run on lower bash version too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org