summaryrefslogtreecommitdiff
path: root/test/integration/test-changelog
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-02-07 17:57:06 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-02-07 17:57:06 +0100
commitcfe35dbc01015c6927193fd5da02eaabd753989a (patch)
tree2cead6cea74df6eecbd3da8d470f7522a4497428 /test/integration/test-changelog
parent42d41ddbcb8238add82609badd1fbb16f54c4077 (diff)
rename changelog and autoremove testfile to indicate better what is tested
Diffstat (limited to 'test/integration/test-changelog')
-rwxr-xr-xtest/integration/test-changelog36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/integration/test-changelog b/test/integration/test-changelog
deleted file mode 100755
index 0a80cc08c..000000000
--- a/test/integration/test-changelog
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-set -e
-
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
-
-setupenvironment
-configarchitecture "i386"
-
-buildsimplenativepackage 'apt' 'all' '1.0' 'stable'
-
-setupaptarchive
-changetowebserver
-aptget update -qq
-
-echo 'Apt::Changelogs::Server "http://localhost:8080/";' >> ./aptconfig.conf
-
-testequal "'http://localhost:8080//pool/apt_1.0/changelog'" aptget changelog apt --print-uris
-
-aptget changelog apt -qq > apt.changelog
-testfileequal 'apt.changelog' "$(cat aptarchive/pool/apt_1.0/changelog)"
-rm apt.changelog
-
-aptget changelog apt -d -qq
-testfileequal 'apt.changelog' "$(cat aptarchive/pool/apt_1.0/changelog)"
-rm apt.changelog aptarchive/pool/apt_1.0/changelog
-
-aptget changelog apt -qq -o APT::Changelogs::Server='http://not-on-the-main-server:8080/' > apt.changelog
-testfileequal 'apt.changelog' "$(cat aptarchive/pool/apt_1.0.changelog)"
-rm apt.changelog
-
-aptget changelog apt -d -qq
-testfileequal 'apt.changelog' "$(cat aptarchive/pool/apt_1.0.changelog)"
-rm apt.changelog aptarchive/pool/apt_1.0.changelog
-
-testequal 'E: changelog download failed' aptget changelog apt -qq -o APT::Changelogs::Server='http://not-on-the-main-server:8080/'