You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
352 B

  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