Debian Codegraph @

debian/tests/search-for-dpkg

raw
1 #!/bin/sh
2 set -e
3
4 apt-get update
5
6 update-apt-xapian-index --force
7
8 axi-cache --all search dpkg | tee results.log
9
10 grep -E '^[0-9]+% dpkg -' results.log \
11 || echo "Test failed: axi didn't find dpkg"