path: root/tests/tests/trustingpolicy-replay
diff options
authorIan Jackson <>2015-06-10 18:11:24 +0100
committerIan Jackson <>2015-06-10 18:11:24 +0100
commit609f108165197b1d7a55a4908a321bad40a86442 (patch)
tree576f67f8da6978a9d0990d6ab010bd855805098d /tests/tests/trustingpolicy-replay
parent9f377842120dd8d6206a3f3f2eb297b3e4907fa8 (diff)
Test suite: Make t-expect-fail flexible wrt which grep to run
Change the default to fgrep, and override it in the places where this is needed. Also use shell substitution to quote .s in tag name in debpolicy-newreject.
Diffstat (limited to 'tests/tests/trustingpolicy-replay')
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests/trustingpolicy-replay b/tests/tests/trustingpolicy-replay
index 4fc3c17..79674fe 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-fail "policy-hook.*No such file or directory" \
+ t-expect-fail E:'policy-hook.*No such file or directory' \
t-dgit push $delib
t-policy dgit-repos-policy-trusting