chiark / gitweb /
test suite: add t-push-included
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 28 Jul 2018 04:26:24 +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 8de7b89..68bf9d7 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -675,6 +675,12 @@ t-push-was-source-only () {
         done
 }
 
+t-push-included () {
+    for f in $@; do
+        stat $tmp/incoming/$f
+    done
+}
+
 t-pushed-good () {
        local branch=$1
        local suite=${2:-sid}