[devscripts] 03/05: test_uscan*: test with debchange in the source
Osamu Aoki
osamu at moszumanska.debian.org
Sun Sep 10 10:23:22 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 bc9ce29d0090a31644f0d2396835aa7fdb4edab9
Author: Osamu Aoki <osamu at debian.org>
Date: Sun Sep 10 09:48:57 2017 +0900
test_uscan*: test with debchange in the source
Signed-off-by: Osamu Aoki <osamu at debian.org>
---
test/test_uscan | 3 ++-
test/test_uscan_mangle | 3 ++-
test/test_uscan_online | 14 +++++++++++++-
3 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/test/test_uscan b/test/test_uscan
index 042fabf..7fafd12 100755
--- a/test/test_uscan
+++ b/test/test_uscan
@@ -31,8 +31,9 @@ if test "$1" = --installed; then
shift
else
top_srcdir=$(readlink -f "${0%/*}/..")
- make -C "$top_srcdir/scripts" uscan mk-origtargz uupdate
+ make -C "$top_srcdir/scripts" uscan mk-origtargz uupdate debchange
PATH="$top_srcdir/scripts:$PATH"
+ export PATH
PERL5LIB="$top_srcdir/lib"
export PERL5LIB
COMMAND="uscan --no-conf --compression=xz"
diff --git a/test/test_uscan_mangle b/test/test_uscan_mangle
index 059e272..60a85ad 100755
--- a/test/test_uscan_mangle
+++ b/test/test_uscan_mangle
@@ -23,8 +23,9 @@ if test "$1" = --installed; then
shift
else
top_srcdir=$(readlink -f "${0%/*}/..")
- make -C "$top_srcdir/scripts" uscan mk-origtargz uupdate
+ make -C "$top_srcdir/scripts" uscan mk-origtargz uupdate debchange
PATH="$top_srcdir/scripts:$PATH"
+ export PATH
PERL5LIB="$top_srcdir/lib"
export PERL5LIB
COMMAND="uscan --no-conf"
diff --git a/test/test_uscan_online b/test/test_uscan_online
index b5458f0..fb0e5c9 100755
--- a/test/test_uscan_online
+++ b/test/test_uscan_online
@@ -14,7 +14,19 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-COMMAND="${0%/*}/../scripts/uscan.pl --no-conf"
+# Operation mode
+if test "$1" = --installed; then
+ COMMAND="uscan --no-conf"
+ shift
+else
+ top_srcdir=$(readlink -f "${0%/*}/..")
+ make -C "$top_srcdir/scripts" uscan mk-origtargz uupdate debchange
+ PATH="$top_srcdir/scripts:$PATH"
+ export PATH
+ PERL5LIB="$top_srcdir/lib"
+ export PERL5LIB
+ COMMAND="uscan --no-conf"
+fi
. "${0%/*}/shunit2-helper-functions.sh"
--
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