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 8de7b8958a92865884982aa70b4c395c4208774e..68bf9d7353726fe18a393dbbd7b10cee8b81d8b7 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -675,6 +675,12 @@ t-push-was-source-only () {
         done
 }
 
         done
 }
 
+t-push-included () {
+    for f in $@; do
+        stat $tmp/incoming/$f
+    done
+}
+
 t-pushed-good () {
        local branch=$1
        local suite=${2:-sid}
 t-pushed-good () {
        local branch=$1
        local suite=${2:-sid}