summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/lib-orig-include-exclude8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/lib-orig-include-exclude b/tests/lib-orig-include-exclude
index 75a9656..c3b7b43 100644
--- a/tests/lib-orig-include-exclude
+++ b/tests/lib-orig-include-exclude
@@ -38,12 +38,16 @@ grep orig ../${p}_${v}_*.changes
test-push-2
+origs_findls () {
+ find $tmp/mirror -name '*orig*' -ls
+}
+
# check that dgit stripped out the orig update
-find $tmp/mirror -name '*orig*' -ls >../before
+origs_findls >../before
t-archive-process-incoming sid
-find $tmp/mirror -name '*orig*' -ls >../after
+origs_findls >../after
diff -u ../before ../after
test-push-1 1.1-1.2 --ch:-sd