summaryrefslogtreecommitdiff
path: root/test/methods/debdelta/test-signature
diff options
context:
space:
mode:
authorIshan Jayawardena <udeshike@gmail.com>2011-06-15 14:19:00 +0530
committerIshan Jayawardena <udeshike@gmail.com>2011-06-15 14:19:00 +0530
commit5da0f9fd194b76fd82482fbe533d963fc87f315d (patch)
treecaa9413d7abf5d1557b123589e0cb1452acce20a /test/methods/debdelta/test-signature
parent9995c4a0bc2d8567ff9f11d338ad610754682372 (diff)
revised the debdelta method
Diffstat (limited to 'test/methods/debdelta/test-signature')
-rwxr-xr-xtest/methods/debdelta/test-signature6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/methods/debdelta/test-signature b/test/methods/debdelta/test-signature
index f9fa678ff..952260322 100755
--- a/test/methods/debdelta/test-signature
+++ b/test/methods/debdelta/test-signature
@@ -5,7 +5,7 @@ deb=$1
verify_deb() {
[ "$deb" = "" ] && return
- md5sum_1=$(apt-cache show `dpkg -I "$deb" | sed -n "s/Package: //p"` | sed -n "s/MD5sum: //p")
+ md5sum_1=$(LD_LIBRARY_PATH=../../../bin ../../../bin/apt-cache show `dpkg -I "$deb" | sed -n "s/Package: //p"` | sed -n "s/MD5sum: //p")
md5sum_2=$(md5sum "$deb" | gawk '{print $1}')
for s1 in $md5sum_1; do
for s2 in $md5sum_2; do
@@ -29,7 +29,7 @@ make_deb() {
usage
exit 1
fi
- result_deb=$(LD_LIBRARY_PATH=../../../bin ../../../bin/methods/debdelta $1 $2 | sed -n "s/Result-Deb: //p")
+ result_deb=$(LD_LIBRARY_PATH=../../../bin ../../../bin/methods/debdelta $1 $2 | sed -n "s/Filename: //p")
deb=$result_deb
verify_deb
}
@@ -44,4 +44,4 @@ testmethod() {
}
#testmethod
-make_deb $1 $2
+make_deb $1 $2 \ No newline at end of file