#!/bin/sh set -e apt-get update update-apt-xapian-index --force axi-cache --all search dpkg | tee results.log grep -E '^[0-9]+% dpkg -' results.log \ || echo "Test failed: axi didn't find dpkg"