diff options
author | gustavo panizzo <gfa@zumbi.com.ar> | 2018-03-11 10:33:58 +0000 |
---|---|---|
committer | gustavo panizzo <gfa@zumbi.com.ar> | 2018-03-11 10:39:48 +0000 |
commit | 6210c76a7f7d885c1438b0fb8ed7ceaf1537108a (patch) | |
tree | 6422b9786663503333ac4a6558b1649915f2195b | |
parent | 98a299fe4f827268b97ea6758ac642702f58d01b (diff) |
Add autopkgtests
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/tests/control | 1 | ||||
-rw-r--r-- | debian/tests/run-uhubctl-v | 7 |
3 files changed, 9 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 2b1c7a5..ff1943c 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: uhubctl Section: electronics Priority: optional Maintainer: gustavo panizzo <gfa@zumbi.com.ar> -Build-Depends: debhelper (>= 10.0.0), libusb-1.0-0-dev +Build-Depends: debhelper (>= 10.0.0), libusb-1.0-0-dev, autopkgtest Standards-Version: 4.1.3 Homepage: https://github.com/mvp/uhubctl diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..5d678f8 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1 @@ +Tests: run-uhubctl-v diff --git a/debian/tests/run-uhubctl-v b/debian/tests/run-uhubctl-v new file mode 100644 index 0000000..ad9ad39 --- /dev/null +++ b/debian/tests/run-uhubctl-v @@ -0,0 +1,7 @@ +#!/bin/sh + +exec 2>&1 + +set -e + +uhubctl -v |