4 Commits

Author SHA1 Message Date
Sergio Cazzolato
1f4ef54efc tests: add details for core tests suite (#13912)
* tests: add details for core tests suite

* Update tests/core/services/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

* Update tests/core/snap-auto-import-asserts-spools/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

* Update tests/core/snap-core-fixup/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

* Update tests/core/snap-auto-import-asserts/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

* Update tests/core/snapd-failover/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

* Update tests/core/uc20-recovery/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

* Update tests/core/snapd-failover/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

* Update tests/core/snapd-refresh-vs-services/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

---------

Co-authored-by: Oliver Calder <oliver@calder.dev>
2024-04-30 15:15:25 -03:00
Michael Vogt
cd4e0c8088 tests: skip "/etc/machine-id" in "writablepaths" test
When systemd is booting it's playing tricks with /etc/machine-id
on firstboot. I.e. it is creating a RO tmpfs on top of the real
machine-id file:
```
google:ubuntu-core-20-64 .../tests/core/writablepaths# findmnt /etc/machine-id
TARGET        SOURCE                                             FSTYPE OPTIONS
/etc/machine-id
              /dev/mapper/ubuntu-data[/system-data/etc/machine-id]
                                                                 ext4   rw,rela
/etc/machine-id
              tmpfs[/machine-id]                                 tmpfs  ro,size

```
This causes the test to fail for this particular file. This commit
skips the test for /etc/machine-id.
2020-04-03 21:06:44 +02:00
Ian Johnson
833eb4a165 tests/core/many: enable for UC20
Add more tests to the UC20 test suite, fixing some of the tests to work on UC20.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2020-02-20 15:22:24 -06:00
Ian Johnson
6fab1cacd5 tests/core: misc renames, add TODO using "system" over "core"
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2020-02-13 10:42:04 -06:00