Explorar o código

add integration test

Michael Vogt %!s(int64=12) %!d(string=hai) anos
pai
achega
6bbd65ee4f
Modificáronse 1 ficheiros con 18 adicións e 0 borrados
  1. 18 0
      test/integration/test-bug-728500-tempdir

+ 18 - 0
test/integration/test-bug-728500-tempdir

@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+TESTDIR=$(readlink -f $(dirname $0))
+. $TESTDIR/framework
+setupenvironment
+configarchitecture 'i386'
+
+buildsimplenativepackage 'coolstuff' 'all' '1.0' 'unstable'
+
+setupaptarchive
+changetowebserver
+
+msgtest 'Test with incorect TMPDIR'
+export TMPDIR=/does-not-exists
+aptget update && msgpass || msgfail
+unset TMPDIR