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.
 
 
 
 
 
 

23 lines
577 B

  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture 'amd64'
  7. insertpackage 'unstable' 'foo' 'all' '1'
  8. buildaptarchive
  9. setupdistsaptarchive
  10. for RELEASE in $(find aptarchive -name 'Release'); do
  11. # note the missing --armor
  12. dosigning "keys/joesixpack" --detach-sign --sign --output "${RELEASE}.gpg" "${RELEASE}"
  13. done
  14. testfailure apt show foo
  15. testfailure aptget update
  16. testsuccess grep 'W: .* Detached signature file .* is in unsupported binary format' rootdir/tmp/testfailure.output
  17. testfailure apt show foo