]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-cli-show
pass-through stdin fd instead of content if not a terminal
[apt.git] / test / integration / test-apt-cli-show
index 91cc9a3c0c162e4aa9fed4ef450ed13b7b386aef..4c8e134d6557896313bb676e5bb7593970d95912 100755 (executable)
@@ -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 multiple lines'
 insertpackage 'unstable' 'foo' 'all' '1.0' '' '' "$DESCR"