chiark / gitweb /
test suite: add t-pushed-good-check-changes
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 28 Jul 2018 04:26:04 +0000 (12:26 +0800)
committerSean Whitton <spwhitton@spwhitton.name>
Sat, 28 Jul 2018 10:18:52 +0000 (18:18 +0800)
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
tests/lib

index 68bf9d7..6028133 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -708,6 +708,12 @@ t-pushed-good-core () {
        git verify-tag `t-v-tag`
 }
 
+t-pushed-good-check-changes () {
+       changes_filename="$tmp/incoming/${p}_${v}_*.changes"
+        grep -E "^Distribution: $suite" $changes_filename
+        grep -E "^Version: $v" $changes_filename
+}
+
 t-splitbrain-pushed-good--unpack () {
        cd $tmp
        rm -rf t-unpack