]> git.saurik.com Git - apt.git/blob - test/integration/test-kernel-helper-autoremove.fake-dpkg
Make the test more verbose and check for the negative case of a kernel that
[apt.git] / test / integration / test-kernel-helper-autoremove.fake-dpkg
1 #!/bin/sh
2 set -e
3
4 if [ "$1" = "-l" ]; then
5 echo "ii linux-image-1.0.0-2-generic 1.0.01-2 amd64"
6 echo "ii linux-image-$(uname -r) not-used amd64"
7 echo "ii linux-image-10.0.0-1-generic 10.0.0.1-1 amd64"
8 elif [ "$1" = "--compare-versions" ]; then
9 dpkg "$1" "$2" "$3" "$4"
10 else
11 dpkg $@
12 fi
13