Skip to content
Snippets Groups Projects
Commit c084d7bd authored by Martyn Welch's avatar Martyn Welch
Browse files

Remove Test case templates

parent 0232eb56
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 407 deletions
<includeonly></includeonly>
__NOINDEX__
<div style="background-color: #ffc0cb; border: #ff6065 1px solid; padding: 14px; margin: 6px;">
***This page {{\#if: | needs an update | is archived}}. It does not
reflect reality.***
</div>
{{\#if: | [Category:Pages that need
updating](/Category:Pages_that_need_updating "wikilink")[Category:Pages
that need updating on
](/Category:Pages_that_need_updating_on_{{{todo}}} "wikilink")|[Category:Archive](/Category:Archive "wikilink")}}
<noinclude>
You can additional information using the "Extra=" parameter.
For example, {{Template:Archive|Extra=You might be looking for this
other page.}}
Which would turn into…: </noinclude>
\ No newline at end of file
<noinclude>
## Usage
Use this template to link to the Apertis Bugzilla instance. You should
use Phabricator for issue tracking, not Bugzilla.
For example:
Use {{Template:Bug|1}} to link to bug 1, which will look like this:
## Seealso
[:Template:Bugcomment](/:Template:Bugcomment "wikilink") <includeonly>
</noinclude>\[<https://bugs.apertis.org/show_bug.cgi?id=>
\#\]</includeonly>
\ No newline at end of file
<noinclude>
## Usage
Use this template to link to a comment in the Apertis Bugzilla instance.
You should use Phabricator for issue tracking, not Bugzilla.
For example:
Use {{Template:Bugcomment|1|2}} to link to bug 1, comment 2, which will
look like this:
## Seealso
[:Template:Bug](/:Template:Bug "wikilink") <includeonly>
</noinclude>\[<https://bugs.apertis.org/show_bug.cgi?id=>\#c \#
<small>(comment )</small>\]</includeonly>
\ No newline at end of file
<noinclude>[Category:Licensing](/Category:Licensing "wikilink")
## Usage
This template is used for uploaded file licensing. The content of this
template must not be changed, but the styling can be updated.
## Template
</noinclude>{| id="license" style="width:60%; background:\#f9f9f9;
margin:1em; padding:1em; border:1px solid \#ddd; text-align:center;" |
This work is licensed under the [Creative
Commons](/Wikipedia:Creative_Commons "wikilink")
[CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) License.
|}
\ No newline at end of file
<noinclude>[Category:Licensing](/Category:Licensing "wikilink")
## Usage
This template is used for uploaded file licensing. The content of this
template must not be changed, but the styling can be updated.
## Template
</noinclude>{| id="license" style="width:60%; background:\#f9f9f9;
margin:1em; padding:1em; border:1px solid \#ddd; text-align:center;" |
This work is licensed under the [Creative
Commons](/Wikipedia:Creative_Commons "wikilink")
[Attribution-NonCommercial-ShareAlike 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
License. |}
\ No newline at end of file
<noinclude>[Category:Licensing](/Category:Licensing "wikilink")
## Usage
This template is used for uploaded file licensing. The content of this
template must not be changed, but the styling can be updated.
## Template
</noinclude>{| id="license" style="width:60%; background:\#f9f9f9;
margin:1em; padding:1em; border:1px solid \#ddd; text-align:center;" |
This work is licensed under the [Creative
Commons](/Wikipedia:Creative_Commons "wikilink")
[Attribution-ShareAlike 4.0](http://creativecommons.org/licenses/by-sa/4.0/)
License. |}
\ No newline at end of file
<includeonly>**Please note that connman disables wifi by default on a
fresh image.**
1. To enable the device:
-
connmanctl enable wifi
If it's already enabled, connmanctl will give the error "Error wifi:
Already enabled" that may be ignored.</includeonly> <noinclude> Use the
following wiki code to include this template:
{{ ConnmanEnableWifi }}
The template adds steps to enable the wifi device in ConnMan. WiFi
devices are disabled by default in ConnMan
## Result
{{ ConnmanEnableWifi }} </noinclude>
\ No newline at end of file
<includeonly>**Warning:** Connman changes are persistent (over
reboot\!). After finishing testing, it might be wise to perform the dhcp
test to ensure that the network is in a sensible state.
For ALL tests the enable step will give an "In progress" error if the
device is already enabled. This is to be expected.</includeonly>
<noinclude> Use the following wiki code to include this template:
{{ ConnmanPersistenceWarning }}
Add a warning for the tester about the fact that changes made in Connman
are persistent even through reboot.
## Result
{{ ConnmanPersistenceWarning }} </noinclude>
<noinclude>[Category:QA/Test
case/Template](/Category:QA/Test_case/Template "wikilink")</noinclude>
\ No newline at end of file
<includeonly>
#### Download Test Data
1. From a PC, download and unpack the test data tarball from the gitlab
test repository: **
-
{{\#tag:pre|wget }}
{{\#tag:pre|tar -xvf }}
2. Copy the ** to the device:
-
{{\#tag:pre|DUT_IP=<device-ip>}}
{{\#tag:pre|scp -r user@$DUT_IP:}}
3. Log into the target:
-
ssh user@$DUT_IP
**Note** that the tarball may change depending on the release/branch
being tested, please make sure to download the correct tarball for the
release in question. </includeonly>
<noinclude> Use the following wiki code to include this
template:
{{ DownloadTestData | tarball-name | link-to-gitlab-tarball | unpacked-folder/ }}
</noinclude>
<noinclude>
## Result
{{ DownloadTestData | tarball-name | link-to-gitlab-tarball |
unpacked-folder/ }} </noinclude> <noinclude>[Category:QA/Test
case/Template](/Category:QA/Test_case/Template "wikilink")</noinclude>
\ No newline at end of file
<includeonly>**Please note that connman disables bluetooth by default on
a fresh image.**
To enable the device:
connmanctl enable bluetooth
If it's already enabled, connmanctl will give an "In progress" error
that may be ignored. </includeonly> <noinclude> Use the following wiki
code to include this template:
{{ EnableBluetooth }}
It adds steps explaining how to enable the Bluetooth interface. It
should be added to most Bluetooth-related tests as a header notice as
the current image ships with the interface disabled by default.
## Result
{{ EnableBluetooth }} <noinclude>[Category:QA/Test
case/Template](/Category:QA/Test_case/Template "wikilink")</noinclude>
\ No newline at end of file
<includeonly>**Please note that connman disables cellular by default on
a fresh image.**
Make sure that the 3G USB modem is seen by Connman,
connmanctl technologies
should display a
/net/connman/technology/cellular
technology.
To enable the device:
sudo mount -o remount,rw /
sudo apt-get install connman-tests
/usr/share/connman/test/test-connman enable cellular
If it's already enabled, test-connman will give an "In progress" error
that may be ignored.</includeonly> <noinclude> Use the following wiki
code to include this template:
{{ EnableCellular }}
It adds steps explaining how to enable the Bluetooth interface. It
should be added to most 3G Modem-related tests as a header notice as the
current image ships with the interface disabled by default.
## Result
{{ EnableCellular }} </noinclude>
\ No newline at end of file
<includeonly>
#### Enable Package Repositories
1. Ensure you have the \<\!--
\--\>{{\#if: |{{\#if: |{{\#if: |, {{\#if: |, and repositories |
and repositories }} | and repositories }} | repository }} }} enabled
in your `sources.list` and you have recently run `apt-get
update`.</includeonly> <noinclude> Use the following wiki code to
include this template:
{{ EnablePackageRepositories | repo1 | repo2 | repo3 | repo4 }}
Some packages are not available in default package repositories and need
some other extra ones. This template adds steps explaining how to do
that. Only 4 repositories can be specified as arguments.
Add that template
([Template:InstallDependencies](/Template:InstallDependencies "wikilink"))
afterwards to specify the dependencies needed.
## Result
{{ EnablePackageRepositories |repo1|repo2|repo3|repo4 }} </noinclude>
<noinclude>[Category:QA/Test
case/Template](/Category:QA/Test_case/Template "wikilink")</noinclude>
\ No newline at end of file
<includeonly>\#Ensure you have the {{\#if: |{{\#if: |{{\#if: |,
{{\#if: |, and repositories | and repositories }} | and
repositories }} | repository }} }} enabled in your `sources.list` and
you have recently run `apt-get update`.</includeonly> <noinclude> Use
the following wiki code to include this template:
{{ Enable package repositories | repo1 | repo2 | repo3 | repo4 }}
Some packages are not available in default package repositories and need
some other extra ones. This template adds steps explaining how to do
that. Only 4 repositories can be specified as arguments.
Add that template ([Template:Install
dependencies](/Template:Install_dependencies "wikilink")) afterwards to
specify the dependencies needed.
## Result
{{ Enable package repositories |repo1|repo2|repo3|repo4}} </noinclude>
<noinclude>[Category:QA/Test
case/Template](/Category:QA/Test_case/Template "wikilink")</noinclude>
\ No newline at end of file
1. REDIRECT
[QA/ImmutableRootfsTests](/QA/ImmutableRootfsTests "wikilink")
\ No newline at end of file
<includeonly> ==== Install Package Dependencies ====
1. Ensure Rootfs is remounted as read/write:
-
sudo mount -o remount,rw /
2. Install dependencies:
-
{{\#tag:pre | sudo apt install }}
3. Restart the system to restore the filesystem state to read-only
before running the test:
-
sudo reboot
</includeonly> \<\!--
\--\><noinclude> Use the following wiki code to include this template:
{{ InstallDependencies | libbar libfoo }}
The template will add steps to install package from repository. It is a
pre-condition for most test cases as not all needed packages are
installed by default on the system.
## Result
{{ InstallDependencies |libbar libfoo}}</noinclude>
<noinclude>[Category:QA/Test
case/Template](/Category:QA/Test_case/Template "wikilink")</noinclude>
\ No newline at end of file
<includeonly>**Remember, we're now requiring VirtualBox 4.2.2 for tests
using Guest Additions.
Please, read
[Docs/VirtualBox_Guest_Additions](/Docs/VirtualBox_Guest_Additions "wikilink")
to update your setup.**
\# Download the virtual machine image for the latest SDK release from
<https://images.apertis.org/>.</includeonly> <noinclude> Use the
following wiki code to include this template:
{{ InstallSDK }}
This template adds steps to install the latest SDK release in
VirtualBox. It is needed for some test cases that explicitly run in a
virtualized environment.
## Result
{{ InstallSDK }} </noinclude> <noinclude>[Category:QA/Test
case/Template](/Category:QA/Test_case/Template "wikilink")</noinclude>
\ No newline at end of file
<includeonly> \# Ensure Rootfs is remounted as read/write:
\#:
sudo mount -o remount,rw /
1. Install dependencies:
-
{{\#tag:pre | sudo apt-get install }}
2. Restart the system to restore the filesystem state to read-only
before running the test:
-
sudo reboot
</includeonly> \<\!--
\--\><noinclude> Use the following wiki code to include this template:
{{ Install dependencies | libbar libfoo }}
The template will add steps to install package from repository. It is a
pre-condition for most test cases as not all needed packages are
installed by default on the system.
## Result
{{ Install dependencies | libbar libfoo }}</noinclude>
<noinclude>[Category:QA/Test
case/Template](/Category:QA/Test_case/Template "wikilink")</noinclude>
\ No newline at end of file
<includeonly>**Remember, we're now requiring VirtualBox 4.2.2 for tests
using Guest Additions.
Please, read
[Docs/VirtualBox_guest_additions](/Docs/VirtualBox_guest_additions "wikilink")
to update your setup.**
\# Download the VirtualBox image for the latest SDK release from
<https://images.apertis.org>.
1. Install and run the SDK
([Instructions](/System_Image_Setup#SDK_Images "wikilink")).</includeonly>\<\!--
\--\><noinclude> Use the following wiki code to include this template:
{{ Install sdk }}
This template adds steps to install the latest SDK release in
VirtualBox. It is needed for some test cases that explicitly run in a
virtualized environment.
## Result
{{ Install sdk }} </noinclude> <noinclude>[Category:QA/Test
case/Template](/Category:QA/Test_case/Template "wikilink")</noinclude>
\ No newline at end of file
1. REDIRECT
[QA/ImmutableRootfsTests](/QA/ImmutableRootfsTests "wikilink")
\ No newline at end of file
<includeonly>[Category:Obsolete](/Category:Obsolete "wikilink")</includeonly>
<div style="border: 2px dashed #ef2929; background-color: #ffffff; padding: 5px;">
<table style="background-color: #ff593a; border:1px solid #a3b0bf; padding: 5px; width: 100%; color:#ffffff;">
<tr>
<td>
<b>This page is obsolete.</b>
</td>
</tr>
</table>
</div>
<noinclude>
You can additional information using the "Extra=" parameter.
For example, {{Template:WIP|Extra=Look at \[http://example.com/ this
example\] instead}}
Which would turn into..: </noinclude>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment