Hi,

After https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796986#25
I realized this dhange demands update of test script.

Here is one for it.

Osamu
>From 57a82cafdf06a258bc5b4769d0c41db7ae7d1531 Mon Sep 17 00:00:00 2001
From: Osamu Aoki <os...@debian.org>
Date: Sun, 6 Sep 2015 00:50:17 +0900
Subject: [PATCH 3/3] update test patten with new output.

---
 test/test_mk-origtargz | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/test_mk-origtargz b/test/test_mk-origtargz
index 7209b4e..a200079 100755
--- a/test/test_mk-origtargz
+++ b/test/test_mk-origtargz
@@ -418,7 +418,7 @@ testSuffix() {
 	makeDebianDir
 	makeDebianCopyright
 	run_mk_origtargz foo "$expected_stderr_after_removal" \
-		"Successfully repacked ../foo-0.1.tar.gz as ../foo_0.1+dfsg1.orig.tar.gz, deleting 19 files from it." \
+		"Successfully repacked ../foo-0.1.tar.gz as ../foo_0.1+dfsg1.orig.tar.gz, deleting 19 files from it and adding suffix." \
 		 ../foo-0.1.tar.gz --repack-suffix +dfsg1
 	assertTrue "result does not exist" "[ -e $TMPDIR/foo_0.1+dfsg1.orig.tar.gz ]"
 	assertType application/gzip $TMPDIR/foo_0.1+dfsg1.orig.tar.gz
@@ -430,7 +430,7 @@ testSuffixXZ() {
 	makeDebianDir
 	makeDebianCopyright
 	run_mk_origtargz foo "$expected_stderr_after_removal" \
-		"Successfully repacked ../foo-0.1.tar.xz as ../foo_0.1+dfsg1.orig.tar.xz, deleting 19 files from it." \
+		"Successfully repacked ../foo-0.1.tar.xz as ../foo_0.1+dfsg1.orig.tar.xz, deleting 19 files from it and adding suffix." \
 		 ../foo-0.1.tar.xz --repack-suffix +dfsg1
 	assertTrue "result does not exist" "[ -e $TMPDIR/foo_0.1+dfsg1.orig.tar.xz ]"
 	assertType application/xz $TMPDIR/foo_0.1+dfsg1.orig.tar.xz
@@ -442,7 +442,7 @@ testSuffixZip() {
 	makeDebianDir
 	makeDebianCopyright
 	run_mk_origtargz foo "$expected_stderr_after_removal" \
-		"Successfully repacked ../foo-0.1.zip as ../foo_0.1+dfsg1.orig.tar.xz, deleting 19 files from it." \
+		"Successfully repacked ../foo-0.1.zip as ../foo_0.1+dfsg1.orig.tar.xz, deleting 19 files from it and adding suffix." \
 		 ../foo-0.1.zip --compression xz --repack-suffix +dfsg1
 	assertTrue "result does not exist" "[ -e $TMPDIR/foo_0.1+dfsg1.orig.tar.xz ]"
 	assertType application/xz $TMPDIR/foo_0.1+dfsg1.orig.tar.xz
-- 
2.1.4

Reply via email to