chiark / gitweb /
Infra: Add dgit-repos-policy-trusting
[dgit.git] / tests / tests / debpolicy-newreject
index e64ed6ea5c8ea4db514db3ff14eac2a1a9773793..b2bf6bee7f411d0c6fc0eb6032752a3a74f3c5a3 100755 (executable)
@@ -8,17 +8,7 @@ t-debpolicy
 t-prep-newpackage example 1.0
 
 cd $p
-
 revision=1
-t-commit () {
-       local msg=$1
-       v=1.$revision
-       dch -v$v --distribution unstable "$1"
-       git add debian/changelog
-       debcommit
-       revision=$(( $revision + 1 ))
-}
-
 git tag start
 
 echo FORBIDDEN >debian/some-file
@@ -80,7 +70,7 @@ t-expect-fail "HEAD is not a descendant of the archive's version" \
 t-dgit push
 
 t-expect-fail "Package is in NEW and has not been accepted or rejected yet" \
-t-dgit --deliberately-TEST-not-fast-forward-dgit-only push
+t-dgit --deliberately-TEST-dgit-only-not-fast-forward push
 
 t-dgit --deliberately-not-fast-forward push