. tests/lib
t-dependencies bsdgames
+t-dependencies man-db git-man
t-tstunt-parsechangelog
t-archive-none example
badattr delta
badattr encoding no-such-encoding
+man gitattributes \
+| perl -ne 'print $1,"\n" if m/^ *(\w[-a-z]*)$/' \
+> grepped-attrs
+
+exec <grepped-attrs
+while read attr; do
+ badattr $attr
+done
+
sha256sum af/* >sums
# ----- common to source formats -----
dgitargs=$2
refname="import.$sfmt-$inst"
brkerr=stderr.$sfmt-$inst.broken
+ dscf=${p}_${v}.dsc
mkdir $pdb-import-$inst
cd $pdb-import-$inst
git init
LC_MESSAGES=C \
- t-dgit $dgitargs import-dsc ../${p}_${v}.dsc +$refname.broken \
+ t-dgit $dgitargs import-dsc ../$dscf +$refname.broken \
2>&1 |tee ../$brkerr
fgrep 'warning: source tree contains .gitattributes' ../$brkerr
git checkout $refname.broken
t-dgit setup-new-tree
- t-dgit $dgitargs import-dsc ../${p}_${v}.dsc +$refname
+ t-dgit $dgitargs import-dsc ../$dscf +$refname
git checkout $refname
sums=sums.$sfmt-$inst
: ----- generate the orig -----
-tar --exclude=debian --exclude=.git -zcf ${p}_${bv}.orig.tar.gz $p
+origtar=${p}_${bv}.orig.tar.gz
+
+tar --exclude=debian --exclude=.git -zcf $origtar $p
: ----- test 1.0 native -----
sfmt_setup 1.1 diff
sfmt_import norm
-: ----- test "3.0 (quilt)"
+: ----- test "3.0 (quilt)" -----
quilt_addpatch () {
pname=$1