☰
Debian Codegraph
@
0.59
/
/
debian
/
tests
/
search-for-dpkg
☽
☼
debian/tests/search-for-dpkg
code
plain
raw
GPL-2+
2007-2010 Enrico Zini <
[email protected]
; 2025 Daniel Gröber <
[email protected]
>
debian/copyright
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"