diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-10-15 18:30:09 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-10-15 18:30:09 +0200 |
commit | b71a4a8dcd8b1d0e82f8071e5e993cc6423c6a57 (patch) | |
tree | 88c3ff0df846f2af9e901872f67e21b051129e3f /test | |
parent | 58d0598ad6f1c514bf7d89fdea676a697f0d9388 (diff) | |
parent | 95fe33dc131bee1a0917ba647e44855c10083ab5 (diff) |
merged from debian-sid
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-indexes.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test-indexes.sh b/test/test-indexes.sh index dad3e1fb2..17363718d 100755 --- a/test/test-indexes.sh +++ b/test/test-indexes.sh @@ -135,6 +135,14 @@ echo "deb-src $TEST_SOURCE" >> etc/apt/sources.list echo "RootDir \"$WORKDIR\";" > apt_config export APT_CONFIG=`pwd`/apt_config +echo "==== no indexes ====" +echo '--- apt-get check works without indexes' +[ -z `$APT_GET check` ] +echo '--- apt-cache policy works without indexes' +$APT_CACHE policy bash >/dev/null +echo '--- apt-cache show works without indexes' +! LC_MESSAGES=C $APT_CACHE show bash 2>&1| grep -q 'E: No packages found' + echo "===== uncompressed indexes =====" check_update check_indexes |