21 Commits
Author SHA1 Message Date
Castulo Martinez 201950445a Reporting if a file was fixed or not with --quiet
When using --quiet, there was no way of knowing if a file had been
successfully repaired or not. This commit fixes that.

Closes #1504

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-28 09:13:45 -07:00
Castulo Martinez 8b9a2e8510 API: Do not validate error messages in API tests
The tests in test/functional/api are going to validate the --quiet
output is rarely changed, therefore only expected output should be
validated and not warnings or error messages.

Closes #1502

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-27 16:04:05 -07:00
Otavio Pontes 9a8d5a09e3 target_root: Reorganize function verify_fix_path()
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2020-04-27 14:50:22 -07:00
Castulo Martinez 5e3164523d Testlib: function to add os-core-update to an env
For some tests is useful to have a minimal version of the os-core-update
bundle since some system files are tracked there.

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-24 09:32:28 -07:00
Castulo Martinez 1e3cb68979 API: output for mirror
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd mirror

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-20 10:52:14 -07:00
Castulo Martinez dbe702ca03 API: output for 3rd-party add, remove, list
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd 3rd-party add
- swupd 3rd-party remove
- swupd 3rd-party list

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-20 09:51:22 -07:00
Otavio Pontes 64d8222e4e test: Rebalance weights
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
2020-04-17 18:44:18 -07:00
Castulo Martinez 5b2773455f API: output for hashdump
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd hashdump

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-17 12:21:40 -07:00
Castulo Martinez 5b69e4585c API: output for [3rd-party] clean
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd clean
- swupd 3rd-party clean

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-17 11:43:32 -07:00
Castulo Martinez 194d54544e API: output for os-install
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd os-install

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-17 10:39:26 -07:00
Castulo Martinez 4f852953d0 API: output for [3rd-party] repair
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd repair
- swupd 3rd-party repair

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-17 10:37:26 -07:00
Castulo Martinez 53878d8317 API: output for [3rd-party] diagnose
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd diagnose
- swupd 3rd-party diagnose

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-15 16:15:28 -07:00
Castulo Martinez bc58b8bb48 API: output for search-file
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd search-file

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-15 15:35:00 -07:00
Castulo Martinez 532d5743ca API: output for [3rd-party] bundle-info
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd bundle-info
- swupd 3rd-party bundle-info

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-15 08:47:57 -07:00
Castulo Martinez b686c07719 API: output for [3rd-party] bundle-list
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd bundle-list
- swupd 3rd-party bundle-list

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-14 08:55:59 -07:00
Castulo Martinez faf2d994fb API: output for [3rd-party] bundle-add
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd bundle-add
- swupd 3rd-party bundle-add

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-10 16:44:34 -07:00
Castulo Martinez 2fb27c3b5f API: output for [3rd-party] bundle-remove
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd bundle-remove
- swupd 3rd-party bundle-remove

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-10 15:21:59 -07:00
Castulo Martinez d94920a7d0 API: output for [3rd-party] update
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:

- swupd update
- swupd 3rd-party update

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-10 10:15:27 -07:00
Castulo Martinez d22bdeb5c4 API: output for [3rd-party] check-update
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:
- swupd check-update
- swupd 3rd-party check-update

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-09 09:56:17 -07:00
Castulo Martinez f3bb9765da API: output for autoupdate
This commit provides a minimal output to be displayed when the --quiet
flag is used for this command:
- swupd autoupdate

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-08 15:47:31 -07:00
Castulo Martinez b62aae3c8c API: output for [3rd-party] info
This commit provides a minimal output to be displayed when the --quiet
flag is used for these commands:
- swupd info
- swupd 3rd-party info

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
2020-04-08 15:02:40 -07:00