diff options
author | Paul Wise <pabs3@bonedaddy.net> | 2019-08-08 14:55:20 +0800 |
---|---|---|
committer | Paul Wise <pabs3@bonedaddy.net> | 2019-08-08 14:55:20 +0800 |
commit | 7925a22e9ae8b79b65313e752428b39bcff74015 (patch) | |
tree | 83a74aaa2d8fbd323e97cde8b5492d4d7d686b1e | |
parent | 925a9cd46934adcff0d6cbca467b23109a223b34 (diff) |
Switch from redirecting stderr in script to Test-Command and allow-stderr
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/tests/control | 4 | ||||
-rw-r--r-- | debian/tests/run-uhubctl-v | 7 |
3 files changed, 3 insertions, 9 deletions
diff --git a/debian/changelog b/debian/changelog index cb8f6c9..8af8d3a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ uhubctl (2.0.0-5.1) UNRELEASED; urgency=medium * Non-maintainer upload. * Use full path to uhubctl binary in tests (Closes: #925913) * Mark the uhubctl -v test as superficial + * Switch from redirecting stderr in script to Test-Command and allow-stderr -- Paul Wise <pabs@debian.org> Thu, 08 Aug 2019 14:46:07 +0800 diff --git a/debian/tests/control b/debian/tests/control index 940a86d..4143dd4 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,3 +1,3 @@ -Tests: run-uhubctl-v -Restrictions: superficial +Test-Command: /usr/sbin/uhubctl -v +Restrictions: superficial allow-stderr Depends: @ diff --git a/debian/tests/run-uhubctl-v b/debian/tests/run-uhubctl-v deleted file mode 100644 index ecefbff..0000000 --- a/debian/tests/run-uhubctl-v +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -exec 2>&1 - -set -e - -/usr/sbin/uhubctl -v |