Project

General

Profile

Actions

Bug #82

closed
JB LS

jq problem in afb-test

Bug #82: jq problem in afb-test

Added by José Bollo over 2 years ago. Updated 8 months ago.

Status:
Closed
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...

SD Updated by Sebastien Douheret [IoT.bzh] over 2 years ago Actions #1

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

SD Updated by Sebastien Douheret [IoT.bzh] over 2 years ago Actions #2

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

EJ Updated by Emmanuel Jubera [SAFT] about 2 years ago Actions #3

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.

JB Updated by José Bollo 8 months ago Actions #4

  • Status changed from New to Closed
Actions

Also available in: PDF Atom