Przeglądaj źródła

add integration test

Michael Vogt 12 lat temu
rodzic
commit
6bbd65ee4f
1 zmienionych plików z 18 dodań i 0 usunięć
  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