summaryrefslogtreecommitdiff
path: root/tests/tests/gdr-subcommands
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-24 22:35:04 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-24 22:39:27 +0100
commitfbf9b5517d1c8d3a5e906477b9e4a11866168559 (patch)
tree3d4892924dea8ef2469aaa021a99c450795317f3 /tests/tests/gdr-subcommands
parent626c5a5851ebabb54e01e3fe3e15b3971f62555b (diff)
test suite: lib-gdr: Check that we made patches with gdr
Conveniently, the places where we don't want this, and are deliberately looking for dgit-self-made patches, are gdr-makepatches7 and mix-it in gdr-subcommands; there, we don't push, so don't end up checking t-gdr-made-patches. We also add this check to the appropriate place in gdr-subcommands. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/gdr-subcommands')
-rwxr-xr-xtests/tests/gdr-subcommands1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tests/gdr-subcommands b/tests/tests/gdr-subcommands
index 4197ab0..672ddc9 100755
--- a/tests/tests/gdr-subcommands
+++ b/tests/tests/gdr-subcommands
@@ -168,6 +168,7 @@ make_check () {
P*)
t-dgit -wgf --quilt=nofix quilt-fixup
git diff HEAD~ debian/patches | egrep .
+ t-gdr-made-patches
git diff --quiet HEAD~ -- ':.' ':!debian/patches'
git reset --hard HEAD~
;;