Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
a721c3d3
Commit
a721c3d3
authored
Mar 09, 2016
by
Holger Levsen
Browse files
make it work with sid and unstable
parent
71d49151
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/diffoscope_pypi_test.sh
View file @
a721c3d3
...
@@ -17,7 +17,7 @@ cleanup_all() {
...
@@ -17,7 +17,7 @@ cleanup_all() {
TMPPYPI
=
$(
mktemp
-t
diffoscope-pypi-XXXXXXXX
)
TMPPYPI
=
$(
mktemp
-t
diffoscope-pypi-XXXXXXXX
)
trap
cleanup_all INT TERM EXIT
trap
cleanup_all INT TERM EXIT
DIFFOSCOPE_IN_DEBIAN
=
$(
rmadison diffoscope|grep unstable|
cut
-d
"|"
-f2
||
true
)
DIFFOSCOPE_IN_DEBIAN
=
$(
rmadison diffoscope|
e
grep
'(
unstable|
sid)'
|
cut
-d
"|"
-f2
||
true
)
curl https://pypi.python.org/pypi/diffoscope/
-o
$TMPPYPI
curl https://pypi.python.org/pypi/diffoscope/
-o
$TMPPYPI
DIFFOSCOPE_IN_PYPI
=
$(
grep
"<title>"
$TMPPYPI
|
cut
-d
">"
-f2-
|
cut
-d
":"
-f1
|cut
-d
" "
-f2
)
DIFFOSCOPE_IN_PYPI
=
$(
grep
"<title>"
$TMPPYPI
|
cut
-d
">"
-f2-
|
cut
-d
":"
-f1
|cut
-d
" "
-f2
)
echo
echo
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment