forked from canonical/snapd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: import tests with details from snapd-testing-tools (canonical#…
…13846) * Squashed 'tests/lib/external/snapd-testing-tools/' changes from 1c8efb77e1..94ac5ffe58 94ac5ffe58 Add details on tests 501578c719 add more checks in os.query to check is-core_xx e8929207ff fix os-query for ubuntu comparing with core 226114641f os.query won't check SPREAD_SYSTEM anymore to compare core systems b89ec98b23 use local variables in os.query tool dacfd81de9 fix is_core functions 1db5214d5f Improve the remote docs (canonical#36) 2e4a3153a2 1 more comment 3a0fc57e1e add explanation about why we check for ( Do | Doing ) 4cf8e635bf fix os.query test after merge b89b4f8647 fix artifacts name d30cee6da0 Merge remote-tracking branch 'upstream/main' 5ef5dcbe8f Tests use artifacts in spread tests (canonical#51) 555c43d2ab Support auto-refresh with Do instead of Doing 96c2b0c19c remove tests support for ubuntu 23.04 (EoL) 74082c0c34 Tests improve remote wait (canonical#49) 5121bfb659 remove support for opensuse leap 15.4 (canonical#48) 30df700d08 Add new systems support (canonical#47) 1f08938925 Support check amazon linux version (canonical#46) 43533bdd97 Change the exit value checking for test formats (canonical#45) 3c88244c04 Update check-test-format to support a dir and a list of files (canonical#44) 510d95f429 add extra check for error in auto-refresh detection function 3289d4031b Try open the log with latin-1 encoding when utf-8 is not working 9db785499f improved how the tools are waiting for system reboot 2a5c4414a3 fix shellcheck errors 5e7b63883d Fixes for osquery and tests pkgs (canonical#43) 4c9145e2ac support reboot waiting for auto-refresh 45768f5188 show changes in unknown status after refresh 8013c30c2a Remove support for ubuntu 22.10 b32b80bf54 Fix remote.rait-for test in bionic 5675c625e9 Enable fedora 38 55f4471957 Support for new oss f2e88b357c New tool used to query spread json reports cacd35ede0 utils/spread-shellcheck: explain disabled warnings (canonical#42) c82afb2dee Support --no-install-recommends parameter when installing dependencies with tests.pkgs b84eea92e2 spread-shellcheck: fix quotes in environment variables (canonical#41) ab1e51c29f New comparison in os-query for core systems (canonical#40) e5ae22a5d4 systemd units can be overwritten 63540b845a Fix error messages in remote pull and push 75e8a426a5 make sure the unit is removed in tests.systemd test 9089ff5c02 Update tests to use the new tests.systemd stop-unit 44ecd5e56a Move tests.systemd stop-units to stop-unit 01a2a83b4b Update tests.systemd to have stop units as systemd.sh 162e93bd35 update tests.systemd CLI options to be the same than retry command 14aa43a405 new feature to re-run failed spread tests (canonical#39) 604cb782db Fix shellcheck in systemd tool bfc71082c8 Update the tests.systemd to allow parameters waiting for service status 8a2d0a99df Adding quiet tool and removing set +-x from tests.pkgs d90935d2a4 A comment explaining about the default values for wait-for 3232c5dba7 Add support for ubuntu 23.04 a7164fba07 remove fedora 35 support, add fedora 37 support 89b9eb5301 Update systems supported 92bb6a0664 Include snap-sufix in the snaps.name tool git-subtree-dir: tests/lib/external/snapd-testing-tools git-subtree-split: 94ac5ffe58b7e52f19f142453a78bd897bace122 * Update tests/lib/external/snapd-testing-tools/tests/log-analyzer/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Update tests/lib/external/snapd-testing-tools/tests/os.query/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Update tests/lib/external/snapd-testing-tools/tests/not/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Update tests/lib/external/snapd-testing-tools/tests/os.paths/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Update tests/lib/external/snapd-testing-tools/tests/remote.setup/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Update tests/lib/external/snapd-testing-tools/tests/tests.pkgs/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Update tests/lib/external/snapd-testing-tools/tests/spread-manager/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Update tests/lib/external/snapd-testing-tools/tests/snaps.name/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Update tests/lib/external/snapd-testing-tools/tests/tests.systemd/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Update tests/lib/external/snapd-testing-tools/tests/spread-shellcheck/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Update tests/lib/external/snapd-testing-tools/tests/retry/task.yaml Co-authored-by: Miguel Pires <[email protected]> * Squashed 'tests/lib/external/snapd-testing-tools/' changes from 94ac5ffe58..fc10196efd fc10196efd Add suggestions to details git-subtree-dir: tests/lib/external/snapd-testing-tools git-subtree-split: fc10196efd33bd52c94323781de647ecf257f1d0 --------- Co-authored-by: Miguel Pires <[email protected]>
- Loading branch information
1 parent
6baa741
commit f2c7b3f
Showing
31 changed files
with
119 additions
and
1 deletion.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
tests/lib/external/snapd-testing-tools/tests/check-test-format/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/lib/external/snapd-testing-tools/tests/log-analyzer/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tests/lib/external/snapd-testing-tools/tests/log-analyzer/tests/test-1/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
summary: summary | ||
|
||
details: test | ||
|
||
prepare: | | ||
echo "prepare" | ||
|
2 changes: 2 additions & 0 deletions
2
tests/lib/external/snapd-testing-tools/tests/log-analyzer/tests/test-2/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
summary: summary | ||
|
||
details: test | ||
|
||
prepare: | | ||
echo "prepare" | ||
|
2 changes: 2 additions & 0 deletions
2
tests/lib/external/snapd-testing-tools/tests/log-analyzer/tests/test-3/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
summary: summary | ||
|
||
details: test | ||
|
||
prepare: | | ||
echo "prepare" | ||
|
2 changes: 2 additions & 0 deletions
2
tests/lib/external/snapd-testing-tools/tests/log-analyzer/tests/test-4/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
summary: summary | ||
|
||
details: test | ||
|
||
prepare: | | ||
echo "prepare" | ||
|
2 changes: 2 additions & 0 deletions
2
tests/lib/external/snapd-testing-tools/tests/log-analyzer/tests/test-5/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
summary: summary | ||
|
||
details: test | ||
|
||
prepare: | | ||
echo "prepare" | ||
|
5 changes: 5 additions & 0 deletions
5
tests/lib/external/snapd-testing-tools/tests/log-parser/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/lib/external/snapd-testing-tools/tests/os.paths/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/lib/external/snapd-testing-tools/tests/os.query/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/lib/external/snapd-testing-tools/tests/remote.exec/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/lib/external/snapd-testing-tools/tests/remote.pull/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/lib/external/snapd-testing-tools/tests/remote.push/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
tests/lib/external/snapd-testing-tools/tests/remote.refresh/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/lib/external/snapd-testing-tools/tests/remote.setup/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/lib/external/snapd-testing-tools/tests/remote.wait-for/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/lib/external/snapd-testing-tools/tests/repack-kernel/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/lib/external/snapd-testing-tools/tests/snaps.cleanup/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/lib/external/snapd-testing-tools/tests/snaps.name/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tests/lib/external/snapd-testing-tools/tests/spread-manager/checks/task1/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
summary: this is the summary | ||
|
||
details: test | ||
|
||
prepare: | | ||
echo "preparing" | ||
|
2 changes: 2 additions & 0 deletions
2
tests/lib/external/snapd-testing-tools/tests/spread-manager/checks/task3/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
summary: this is the summary | ||
|
||
details: test | ||
|
||
manual: true | ||
|
||
prepare: | | ||
|
2 changes: 2 additions & 0 deletions
2
tests/lib/external/snapd-testing-tools/tests/spread-manager/checks/task4/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
summary: this is the summary | ||
|
||
details: test | ||
|
||
#manual: true | ||
|
||
prepare: | | ||
|
4 changes: 4 additions & 0 deletions
4
tests/lib/external/snapd-testing-tools/tests/spread-manager/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tests/lib/external/snapd-testing-tools/tests/spread-shellcheck/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/lib/external/snapd-testing-tools/tests/tests.backup/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/lib/external/snapd-testing-tools/tests/tests.cleanup/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/lib/external/snapd-testing-tools/tests/tests.pkgs/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/lib/external/snapd-testing-tools/tests/tests.systemd/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters