test-ubuntu-bug-1549819-empty-arch-list 352 B

1234567891011121314
  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture ""
  7. echo 'APT::Architecture "";' > rootdir/etc/apt/apt.conf
  8. echo 'APT::Architectures:: "";' >> rootdir/etc/apt/apt.conf
  9. setupaptarchive
  10. # test success
  11. testsuccess aptcache -c rootdir/etc/apt/apt.conf gencaches -o debug::NoLocking=1