chiark / gitweb /
test suite: gdr-edits: wip new test
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 15 Feb 2018 19:20:24 +0000 (19:20 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 11:25:49 +0000 (12:25 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/tests/control
tests/tests/gdr-edits [new file with mode: 0755]

index f3d20f1b4e49a51473dfc1a3774e3abffd89a053..d0bad8bf3fe892190056562498da807d6da7394a 100644 (file)
@@ -16,6 +16,10 @@ Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin
 Restrictions: x-dgit-intree-only x-dgit-git-only
 
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin
 Restrictions: x-dgit-intree-only x-dgit-git-only
 
+Tests: gdr-edits
+Tests-Directory: tests/tests
+Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, git-buildpackage, libfile-fnmatch-perl
+
 Tests: gitattributes
 Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bsdgames, man-db, git-man
 Tests: gitattributes
 Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bsdgames, man-db, git-man
diff --git a/tests/tests/gdr-edits b/tests/tests/gdr-edits
new file mode 100755 (executable)
index 0000000..f5ca2a4
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/bash
+set -e
+. tests/lib
+
+t-dependencies git-buildpackage libfile-fnmatch-perl
+
+t-setup-import gbp2gdr
+
+cd $p
+
+t-git-debrebase analyse |tee ../anal.1
+cat ../anal.1
+
+: xxx
+
+t-ok