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