Skip to content

ohos CI: Test hdc device always passes #42335

@jschwe

Description

@jschwe

If there is no device connected, then the output will be as follows, but the exit code 0.

Run hdc list targets && hdc shell echo hello world
[Empty]
[Fail]ExecuteCommand need connect-key? please confirm a device by help info

we should probably check the output and cause a failure if we see [Empty] or [Fail].

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions