mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-01 04:40:38 +00:00
fix unit tests
This commit is contained in:
@@ -11,10 +11,10 @@ Information from release file:
|
||||
Architectures: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
|
||||
Codename: wheezy
|
||||
Components: main contrib non-free
|
||||
Date: Sat, 02 Apr 2016 12:02:38 UTC
|
||||
Description: Debian 7.10 Released 02 April 2016
|
||||
Date: Sat, 04 Jun 2016 11:47:54 UTC
|
||||
Description: Debian 7.11 Released 04 June 2016
|
||||
|
||||
Label: Debian
|
||||
Origin: Debian
|
||||
Suite: oldstable
|
||||
Version: 7.10
|
||||
Version: 7.11
|
||||
|
||||
@@ -11,10 +11,10 @@ Information from release file:
|
||||
Architectures: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
|
||||
Codename: wheezy
|
||||
Components: main contrib non-free
|
||||
Date: Sat, 02 Apr 2016 12:02:38 UTC
|
||||
Description: Debian 7.10 Released 02 April 2016
|
||||
Date: Sat, 04 Jun 2016 11:47:54 UTC
|
||||
Description: Debian 7.11 Released 04 June 2016
|
||||
|
||||
Label: Debian
|
||||
Origin: Debian
|
||||
Suite: oldstable
|
||||
Version: 7.10
|
||||
Version: 7.11
|
||||
|
||||
@@ -11,10 +11,10 @@ Information from release file:
|
||||
Architectures: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
|
||||
Codename: wheezy
|
||||
Components: main contrib non-free
|
||||
Date: Sat, 02 Apr 2016 12:02:38 UTC
|
||||
Description: Debian 7.10 Released 02 April 2016
|
||||
Date: Sat, 04 Jun 2016 11:47:54 UTC
|
||||
Description: Debian 7.11 Released 04 June 2016
|
||||
|
||||
Label: Debian
|
||||
Origin: Debian
|
||||
Suite: oldstable
|
||||
Version: 7.10
|
||||
Version: 7.11
|
||||
|
||||
@@ -11,10 +11,10 @@ Information from release file:
|
||||
Architectures: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
|
||||
Codename: wheezy
|
||||
Components: main contrib non-free
|
||||
Date: Sat, 02 Apr 2016 12:02:38 UTC
|
||||
Description: Debian 7.10 Released 02 April 2016
|
||||
Date: Sat, 04 Jun 2016 11:47:54 UTC
|
||||
Description: Debian 7.11 Released 04 June 2016
|
||||
|
||||
Label: Debian
|
||||
Origin: Debian
|
||||
Suite: oldstable
|
||||
Version: 7.10
|
||||
Version: 7.11
|
||||
|
||||
@@ -10,5 +10,5 @@ Last update: never
|
||||
Information from release file:
|
||||
Architectures: all
|
||||
Date: Wed, 28 Jan 2015 02:32:16 UTC
|
||||
Origin: jenkins-ci.org
|
||||
Origin: jenkins.io
|
||||
Suite: binary
|
||||
|
||||
@@ -11,10 +11,10 @@ Information from release file:
|
||||
Architectures: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
|
||||
Codename: wheezy
|
||||
Components: main contrib non-free
|
||||
Date: Sat, 02 Apr 2016 12:02:38 UTC
|
||||
Description: Debian 7.10 Released 02 April 2016
|
||||
Date: Sat, 04 Jun 2016 11:47:54 UTC
|
||||
Description: Debian 7.11 Released 04 June 2016
|
||||
|
||||
Label: Debian
|
||||
Origin: Debian
|
||||
Suite: oldstable
|
||||
Version: 7.10
|
||||
Version: 7.11
|
||||
|
||||
@@ -11,10 +11,10 @@ Information from release file:
|
||||
Architectures: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
|
||||
Codename: wheezy
|
||||
Components: main contrib non-free
|
||||
Date: Sat, 02 Apr 2016 12:02:38 UTC
|
||||
Description: Debian 7.10 Released 02 April 2016
|
||||
Date: Sat, 04 Jun 2016 11:47:54 UTC
|
||||
Description: Debian 7.11 Released 04 June 2016
|
||||
|
||||
Label: Debian
|
||||
Origin: Debian
|
||||
Suite: oldstable
|
||||
Version: 7.10
|
||||
Version: 7.11
|
||||
|
||||
@@ -11,10 +11,10 @@ Information from release file:
|
||||
Architectures: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
|
||||
Codename: wheezy
|
||||
Components: main contrib non-free
|
||||
Date: Sat, 02 Apr 2016 12:02:38 UTC
|
||||
Description: Debian 7.10 Released 02 April 2016
|
||||
Date: Sat, 04 Jun 2016 11:47:54 UTC
|
||||
Description: Debian 7.11 Released 04 June 2016
|
||||
|
||||
Label: Debian
|
||||
Origin: Debian
|
||||
Suite: oldstable
|
||||
Version: 7.10
|
||||
Version: 7.11
|
||||
|
||||
@@ -11,10 +11,10 @@ Information from release file:
|
||||
Architectures: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
|
||||
Codename: wheezy
|
||||
Components: main contrib non-free
|
||||
Date: Sat, 02 Apr 2016 12:02:38 UTC
|
||||
Description: Debian 7.10 Released 02 April 2016
|
||||
Date: Sat, 04 Jun 2016 11:47:54 UTC
|
||||
Description: Debian 7.11 Released 04 June 2016
|
||||
|
||||
Label: Debian
|
||||
Origin: Debian
|
||||
Suite: oldstable
|
||||
Version: 7.10
|
||||
Version: 7.11
|
||||
|
||||
@@ -11,10 +11,10 @@ Information from release file:
|
||||
Architectures: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
|
||||
Codename: wheezy
|
||||
Components: main contrib non-free
|
||||
Date: Sat, 02 Apr 2016 12:02:38 UTC
|
||||
Description: Debian 7.10 Released 02 April 2016
|
||||
Date: Sat, 04 Jun 2016 11:47:54 UTC
|
||||
Description: Debian 7.11 Released 04 June 2016
|
||||
|
||||
Label: Debian
|
||||
Origin: Debian
|
||||
Suite: oldstable
|
||||
Version: 7.10
|
||||
Version: 7.11
|
||||
|
||||
@@ -11,10 +11,10 @@ Information from release file:
|
||||
Architectures: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
|
||||
Codename: wheezy
|
||||
Components: main contrib non-free
|
||||
Date: Sat, 02 Apr 2016 12:02:38 UTC
|
||||
Description: Debian 7.10 Released 02 April 2016
|
||||
Date: Sat, 04 Jun 2016 11:47:54 UTC
|
||||
Description: Debian 7.11 Released 04 June 2016
|
||||
|
||||
Label: Debian
|
||||
Origin: Debian
|
||||
Suite: oldstable
|
||||
Version: 7.10
|
||||
Version: 7.11
|
||||
|
||||
@@ -47,8 +47,8 @@ class Serve1Test(BaseTest):
|
||||
proc.send_signal(signal.SIGINT)
|
||||
proc.wait()
|
||||
|
||||
if proc.returncode != 2:
|
||||
raise Exception("exit code %d != %d (output: %s)" % (proc.returncode, 2, output))
|
||||
if proc.returncode != -2:
|
||||
raise Exception("exit code %d != %d (output: %s)" % (proc.returncode, -2, output))
|
||||
self.output = output
|
||||
except Exception, e:
|
||||
raise Exception("Running command %s failed: %s" % (self.runCmd, str(e)))
|
||||
|
||||
Reference in New Issue
Block a user