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 68bf9d7353726fe18a393dbbd7b10cee8b81d8b7..6028133a21b38bd6518e0bc7bad1471581ca25be 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