[Pkg-privacy-commits] [flashproxy] 39/65: allow end-to-end test to install .debs directly, useful for debugging
Ximin Luo
infinity0 at moszumanska.debian.org
Fri Aug 21 13:49:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch _volatile-rc
in repository flashproxy.
commit 9498dd71a6b6fd47512bd54489edd7794c2faef0
Author: Ximin Luo <infinity0 at pwned.gg>
Date: Tue Jul 8 11:09:16 2014 +0100
allow end-to-end test to install .debs directly, useful for debugging
---
debian/flashproxy-end-to-end-test.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/flashproxy-end-to-end-test.sh b/debian/flashproxy-end-to-end-test.sh
index e3de17a..ad4e3ff 100755
--- a/debian/flashproxy-end-to-end-test.sh
+++ b/debian/flashproxy-end-to-end-test.sh
@@ -32,7 +32,7 @@ function cleanup() {
}
cleanup
-if [ -f "$1" ]; then
+if [ -f "$1" -a "${1%.changes}" != "$1" ]; then
perl - "$1" <<-'EOF' | cut '-d ' -f5 | grep '.deb$' | { cd "$(dirname "$1")" && xargs sudo dpkg -i; }
use Parse::DebControl;
$parser = new Parse::DebControl;
@@ -43,6 +43,9 @@ if [ -f "$1" ]; then
print "$files\n";
EOF
fi
+for i in "$@"; do
+ if [ "${i%.deb}" != "$i" ]; then sudo dpkg -i "$i"; fi
+done
sudo apt-mark auto flashproxy-common flashproxy-proxy
sudo apt-get -y install flashproxy-client flashproxy-facilitator node-flashproxy
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/flashproxy.git
More information about the Pkg-privacy-commits
mailing list