File: perl-cwd-inc-removal.patch

package info (click to toggle)
libhttp-throwable-perl 0.026-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 428 kB
  • ctags: 147
  • sloc: perl: 1,406; makefile: 18
file content (17 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: fix autopkgtest
 pkg-perl-tools adds the absolute test directory path to @INC in
 autopkgtest runs, which ends up in the error message checked by this test
Author: Florian Schlichting <fsfs@debian.org>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837140

--- a/t/500-all.t
+++ b/t/500-all.t
@@ -12,7 +12,7 @@
     code   => 500,
     reason => 'Internal Server Error',
     length => ignore(),
-    body   => re(qr{500 Internal Server Error.+at t.lib.Test.HT.pm}s),
+    body   => re(qr{500 Internal Server Error.+at \S*t.lib.Test.HT.pm}s),
 });
 
 ht_test(NotImplemented => {}, {