[devscripts] 04/04: test_uscan_online: update for version 4

Osamu Aoki osamu at moszumanska.debian.org
Sun Aug 27 10:34:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

osamu pushed a commit to branch master
in repository devscripts.

commit b5560b0aa9c3c3821864a59efe478e466c1117af
Author: Osamu Aoki <osamu at debian.org>
Date:   Sun Aug 27 19:18:50 2017 +0900

    test_uscan_online: update for version 4
---
 scripts/uscan.pl       | 2 +-
 test/test_uscan_online | 8 +++-----
 test/uscan/s3bucket    | 3 ++-
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 3093203..f871daf 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -1003,7 +1003,7 @@ If F<foo.html> uses B<< <Key> >> I<< ... >> B<< </Key> >>, this can be
 converted to the standard page format with:
 
   version=4
-  opts="pagemangle=s%<Key>([^<]*)</Key>%<Key><a href="$1">$1</a></Key>%g" \\
+  opts="pagemangle=s%<Key>([^<]*)</Key>%<Key><a href="$1">$1</a></Key>%g" \
   http://example.com/release/foo.html \
   (?:.*)/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate
 
diff --git a/test/test_uscan_online b/test/test_uscan_online
index 18732e1..b5458f0 100755
--- a/test/test_uscan_online
+++ b/test/test_uscan_online
@@ -27,11 +27,9 @@ testS3Bucket() {
                    sed 's@\(</[A-Za-z]*>\)@\1\n at g' | grep '<Key>RDSCli-' | \
                    sed 's at .*<Key>RDSCli-\([-0-9.]*\)\.zip</Key>.*@\1 at g' | \
                    sort -n | tail -n 1)
-    local result="Processing watchfile line for package rdscli...
-Newest version on remote site is ${latest}, local version is 1.4.007
-rdscli: Newer version (${latest}) available on remote site:
-  http://s3.amazonaws.com/rds-downloads/RDSCli-${latest}.zip
-  (local version is 1.4.007)"
+    local result="uscan.pl: Newest version of rdscli on remote site is ${latest}, local version is 1.4.007
+uscan.pl:    => Newer package available from
+      http://s3.amazonaws.com/rds-downloads/RDSCli-${latest}.zip"
     found "s3bucket" "rdscli" "1.4.007" "$result"
 }
 
diff --git a/test/uscan/s3bucket b/test/uscan/s3bucket
index 6a581b3..1391f38 100644
--- a/test/uscan/s3bucket
+++ b/test/uscan/s3bucket
@@ -1,2 +1,3 @@
-version=3
+version=4
+opts="pagemangle=s%<Key>([^<]*)</Key>%<Key><a href="$1">$1</a></Key>%g" \
 http://s3.amazonaws.com/rds-downloads/RDSCli-([0-9].*).zip

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list