7 Commits

Author SHA1 Message Date
Sergio Cazzolato
fe6e39a2bc tests: more details in spread tests - part 13 (#13924)
* Adding more details to tests - part 13

* Add more details

* adding more tests

* Update tests/main/debs/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/debug-sandbox/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/econnreset/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/enable-disable/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/health/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/snap-validate-enforce/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/snap-validate-with-store/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/enable-disable/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/debug-paths/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/default-tracks/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/enable-disable/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

---------

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>
2024-05-02 08:14:13 -03:00
Sergio Cazzolato
cdeb316131 Simplify the tests.cleanup tool
The idea of this change is to avoid preparing and make automatic
restoration of the defered commands.
In case it is required the restore can be invoqued manually.
2021-05-17 19:11:12 -03:00
Sergio Cazzolato
960c5030b8 Minor changes in tests to improve phases prepare and restore and docs improvemente
This change includes:
. Adding some missing docs for tests
. Improving prepare sections
. Improving restore sections
2021-03-04 10:23:18 -03:00
Michael Vogt
ded640c991 tests: use "tests.cleanup defer" in exitcodes test 2020-10-08 18:10:27 +02:00
Michael Vogt
cd02e3d16a snap: usage exit code 64 (EX_USAGE) for cmdline errors 2020-10-08 17:36:45 +02:00
Michael Vogt
c18e973fe4 tests: also cover the case where mksquashfs is taken from the core snap 2020-10-08 15:16:25 +02:00
Michael Vogt
010479d7cb tests: add spread test for the exit codes 2020-10-07 21:11:11 +02:00