18 Commits

Author SHA1 Message Date
Miguel Pires
a951e3f060 tests: add details to spread test (#13919)
Document the behavior of spread tests in the details field.

Signed-off-by: Miguel Pires <miguel.pires@canonical.com>
2024-04-30 14:47:17 -03:00
Sergio Cazzolato
ddfc54bd59 tests: use new snaps.name and snaps.cleanup tools (#11599)
* Squashed 'tests/lib/external/snapd-testing-tools/' changes from 872b64e05b..1a986df8d5

1a986df8d5 Merge pull request #17 from snapcore/new-snaps-cleanup-tool
29600af53a Fixing os.paths test for arch linux
e5cdb06053 Minor fixes based on comment reviews
89a0073b88 Run cleanup tests just on systems with snapd pre-installed
19d216a1b9 New tools to get os paths, snap names and cleanup the snaps
a36ee8451a Merge pull request #16 from snapcore/add-codespell
f837691b62 Adding codespell tool to github workflow
58418c3f7e Merge pull request #15 from snapcore/testing-jammy
f015a34899 Fix issue about how info is saved for Debug output
1ee4240e79 Adding jammy to the test systems in spread.yaml
61a4c3142d Merge pull request #14 from snapcore/include-support-s390x
3a1a65f6e1 Update the comments about shellchek
5ddfb7e1db New support for s390x arch in os.query tool
575f5d2016 Merge pull request #13 from snapcore/new-utils-section
4701612434 avoid installing and removing snapd in ubuntu focal
4d0317633d shellcheck in xenial is not needed
d95cb2e627 Moving some tools to the new utils section
839a0ce808 Merge pull request #10 from snapcore/new-spread-shellcheck-tool
5d5efd6fbe Merge pull request #12 from snapcore/run-shellchek-in-old-version
497b7d691f Force testing shellchek with versions 0.8 and 0.7
b3cb5a5a0a Update the copyright
5cfa7cb84d New shellcheck for spread tasks

git-subtree-dir: tests/lib/external/snapd-testing-tools
git-subtree-split: 1a986df8d5e66459ec9aa2498a1e9c7d7e419284

* Using new snaps.name and snaps.cleanup tools

These tools are imported from snapd-testing-tools

* cleanup tool will not be in bin

* Fix shellcheck

* Update missing tests

* Fix shellcheck

* Squashed 'tests/lib/external/snapd-testing-tools/' changes from 1a986df8d5..53ca1b3b70

53ca1b3b70 Merge pull request #21 from snapcore/fix-some-shellcheks
d380a8065e Fix shellchecks
ad410d44cd Merge pull request #20 from snapcore/fixes-on-remote-tools
80bfd6d85b Updates based on review comments in snapd project
5c77d93bd6 Merge pull request #18 from snapcore/tests-new-remote-tools
3cef4b69b4 Updating timeouts
2c6bf4bd48 Using local vars and removing wait-for tool
8642893803 Test fixes
a14ec4ea88 New remote tools
4545a5e5be Merge branch 'main' into tests-new-remote-tools
a791ae89cb New remote tools

git-subtree-dir: tests/lib/external/snapd-testing-tools
git-subtree-split: 53ca1b3b709e685b7910e4b559f182dd78039029

* Make snaps.name executable
2022-05-13 15:11:54 -03:00
Sergio Cazzolato
43b9f39d83 Clean systems.sh helper and migrate last set of tests 2020-10-22 08:57:37 -03:00
Sergio Cazzolato
8f1e690f7c Migration of the main suite to snaps-state tool part 4 2020-10-01 14:17:55 -03:00
Sergio Cazzolato
91e856127b Adding comments to explain the changes done 2019-07-29 11:31:01 -03:00
Sergio Cazzolato
a9fcb4df12 Part4 making tests work on ubuntu-core-18 2019-07-19 16:58:24 -03:00
Maciej Borzecki
46f5d926e9 tests: shellchceks part 7
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2018-08-14 08:53:38 +02:00
Michael Vogt
35491ebf0f tests: disable some tests on core18 where e.g. binaries are missing 2018-06-21 19:16:28 +02:00
Federico Gimenez
293f00418f remove core_name variable 2017-03-09 17:45:30 +01:00
Michael Vogt
208ab18bfe do exit 0 if snap remove not-installed-snap is run 2016-11-18 09:13:52 +01:00
Michael Vogt
d7db7888c8 snapstate: ensure gadget/core/kernel can not be disabled (#2218) 2016-10-26 16:29:41 -02:00
John Lenton
1b99de325f all: use "core" by default but allow "ubuntu-core" still (#2070) 2016-10-04 13:15:32 -03:00
Federico Gimenez
c0b7142cd9 added install_local function 2016-09-26 13:23:29 +02:00
Federico Gimenez
c1042c410c build once and install test snap from cache 2016-09-23 15:28:52 +02:00
Federico Gimenez
da31eb7fe9 replace hello-world with test-snapd-tools 2016-07-13 12:03:16 +02:00
Federico Gimenez
08237c083b fixed indentation in shell blocks 2016-07-05 11:35:18 +02:00
Federico Gimenez
6ee20f45f9 changed yaml indentation to 4 spaces 2016-07-05 10:21:44 +02:00
Federico Gimenez
eb7c437987 port remove errors tests to spread 2016-07-04 09:44:59 +02:00