summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-cli-search
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-02-22 22:28:36 +0100
committerMichael Vogt <mvo@debian.org>2014-02-22 22:28:36 +0100
commit3c74988b38b9ef9326639603a9687ec0d292dfc9 (patch)
tree088baddc17abad0304b6eb3f211ae2f0d3e73186 /test/integration/test-apt-cli-search
parent3e5f181e51bc94fa45e9a36fb094cd3051212013 (diff)
skip test if "apt" is not build
Diffstat (limited to 'test/integration/test-apt-cli-search')
-rwxr-xr-xtest/integration/test-apt-cli-search6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/test-apt-cli-search b/test/integration/test-apt-cli-search
index 979aff880..84650b366 100755
--- a/test/integration/test-apt-cli-search
+++ b/test/integration/test-apt-cli-search
@@ -7,6 +7,12 @@ TESTDIR=$(readlink -f $(dirname $0))
setupenvironment
configarchitecture "i386"
+if [ ! -x ${BUILDDIRECTORY}/apt ]; then
+ msgmsg "No ${BUILDDIRECTORY}/apt"
+ msgskip
+ exit 0
+fi
+
DESCR='Some description that has a unusual word xxyyzz and aabbcc'
DESCR2='Some other description with the unusual aabbcc only'
insertpackage 'unstable' 'foo' 'all' '1.0' '' '' "$DESCR"