| 1 |
# autopkgtest |
| 2 |
|
| 3 |
If you're a package maintainer, you can easily have adequate check your |
| 4 |
package(s) with autopkgtest. |
| 5 |
|
| 6 |
Example debian/tests/adequate: |
| 7 |
|
| 8 |
---8<--- |
| 9 |
#!/bin/sh |
| 10 |
|
| 11 |
adequate --fail $(dh_listpackages) >&2 |
| 12 |
--->8--- |
| 13 |
|
| 14 |
Example debian/tests/control snippet: |
| 15 |
|
| 16 |
---8<--- |
| 17 |
Tests: adequate |
| 18 |
Depends: @, adequate, debhelper |
| 19 |
Restrictions: superficial |
| 20 |
--->8--- |
| 21 |
|
| 22 |
Do note that adequate likely does not suffice as the only test in a package's |
| 23 |
autopkgtest suite, but that it might serve well as an additional test. |