]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-cli-upgrade
skip test if "apt" is not build
[apt.git] / test / integration / test-apt-cli-upgrade
index 21ce6941339f2116d70abceac49bcf28de4fe9f0..b6ee2270b2653cdf627f8599e5ef69378b021cea 100755 (executable)
@@ -7,6 +7,13 @@ TESTDIR=$(readlink -f $(dirname $0))
 setupenvironment
 configarchitecture "i386"
 
+if [ ! -x ${BUILDDIRECTORY}/apt ]; then
+    msgmsg "No ${BUILDDIRECTORY}/apt"
+    msgskip 
+    exit 0
+fi
+
+
 insertpackage 'unstable' 'foo' 'all' '2.0' 'Depends: foo-new-dependency'
 insertpackage 'unstable' 'foo-new-dependency' 'all' '2.0'
 insertinstalledpackage 'foo' 'all' '1.0'