summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-07-12 12:48:32 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-07-12 13:44:14 +0100
commitf11c6632af0949d0956149cfc2d4e51f18d468cc (patch)
tree010eea92035c27257f2df0c0e15b5ebe9893241f /tests/lib
parenta47f1af332372a372bf5758d1e3d9eeffe14acbd (diff)
test suite: Use dch -r -D sid '' not dch -r sid.
Bizarrely, dch -r [-D suite] runs $EDITOR but dch -r [-D suite] weevils ignores `weevils' but does not run $EDITOR. This is #903598. Apparently, this is well known, and convention is to pass ''. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903598#8. So use that. Closes:#903441. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index 04d1f2d..e06ae22 100644
--- a/tests/lib
+++ b/tests/lib
@@ -1009,7 +1009,7 @@ t-commit () {
t-dch-r-rune () {
local cmd="$1"; shift
local suite=${1-unstable}
- $cmd -r sid
+ $cmd -r -D "$suite" ''
}
t-dch-commit-r () {