Specifically, do dgit push --dry-run. This will check that the source
package and git tree agree - ie, that what we have produced can
round-trip through dpkg-source.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* import-dsc: Test missing files, particularly in ..
* run git gc on tests/worktrees/example_1.0.tar.
* quilt fixup: Check we can delete files with funny modes
+ * quilt fixup: Check that funny changes are represented properly
--
start () { git checkout quilt-tip-1.1~0; }
attempt () { t-dgit -wgf --quilt=smash quilt-fixup; }
+good () {
+ attempt
+ t-dgit --quilt=nofix -wgf build-source
+ t-dgit -wgf --dry-run push --new
+}
badly-1 () {
wrongfn=$1
start
git rm src.c
git commit -m deleted
-attempt
+good
start
git rm orig-exec
git rm -f orig-unwriteable
git commit -m 'deleted funny'
-attempt
+good
badly-1 src.c 'mode or type changed'
chmod +x src.c
badly-2
start
-attempt
+good
t-ok