summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-25 16:30:09 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-25 17:56:42 +0100
commitd6be829bf56e699d27d388026d4af7ab710ba328 (patch)
treea4eb3ec080271e145d99200a43a3f5d3271e41bc /tests
parent9141753fb5096b41074684d5bdfbb0c6f69a0c1a (diff)
Work around #793471 (madness with $SIG{__WARN__} and Perl's system builtin): move $SIG{} setting into setup_sigwarn in Dgit.pm, and check getppid.
We also need to fix up the expectation for an error message in one of the tests, where the message changes as a side effect.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/trustingpolicy-replay2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests/trustingpolicy-replay b/tests/tests/trustingpolicy-replay
index b779f64..517f98a 100755
--- a/tests/tests/trustingpolicy-replay
+++ b/tests/tests/trustingpolicy-replay
@@ -47,7 +47,7 @@ prepare-replay () {
t-commit "request with $delib that we will replay"
t-dgit build
- t-expect-push-fail E:'policy-hook.*No such file or directory' \
+ t-expect-push-fail 'system: No such file or directory' \
t-dgit push $delib
t-policy dgit-repos-policy-trusting