#!/bin/bash
set -e
. tests/lib
+t-tstunt-parsechangelog
t-setup-import examplegit
check-import $troot/pkg-srcs 1.0-1
t-expect-fail "Your git tree does not have that object" \
-check-import ../mirror/pool/main 1.2
+check-import ../mirror/pool/main 1.2 --no-chase-dsc-distro
check-import ../mirror/pool/main 1.2 --force-import-dsc-with-dgit-field
t-expect-fail 'signature check failed' \
t-dgit import-dsc --require-valid-signature $dsc2 +$branch
-echo ok.
+t-ok