Project

General

Profile

Actions

Bug #82

open

jq problem in afb-test

Added by José Bollo 5 months ago. Updated 20 days ago.

Status:
New
Priority:
Normal
Target version:
-
Start date:
11/28/2023
Due date:
% Done:

0%

Estimated time:
Hardware platform:
Other
OS Affects Version/s:
arz-1.1
OS Fix Version/s:
Labels:

Description

In json tests, the testVerb key is a table including various tests to execute.

It seems that jq doesn't support an array with a single element.

A workaround is to set twice time the same value in this array...

Actions #1

Updated by Sebastien Douheret [IoT.bzh] 5 months ago

  • Subject changed from problème jq dans afb-test to jq problem in afb-test
  • Description updated (diff)
Actions #2

Updated by Sebastien Douheret [IoT.bzh] 5 months ago

  • Assignee changed from Sebastien Douheret [IoT.bzh] to Louis-Baptiste Sobolewski
Actions #3

Updated by Emmanuel Jubera [SAFT] 20 days ago

The following jq error is displayed when launching the tests within openSUSE with command sudo afm-test package package-test:

jq: error (at /home/sipload/my_rp_builder_dir/gitsources/data-hub/Common/datahub-app/build/package-test/etc/aft-datahub.json:24): Cannot index array with string "args"

The tests are OK nonetheless. The error disappears when adding a second test suite file in the config file.

Actions

Also available in: Atom PDF