diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-10 18:11:24 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-10 18:11:24 +0100 |
commit | 609f108165197b1d7a55a4908a321bad40a86442 (patch) | |
tree | 576f67f8da6978a9d0990d6ab010bd855805098d /tests/tests/debpolicy-newreject | |
parent | 9f377842120dd8d6206a3f3f2eb297b3e4907fa8 (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/debpolicy-newreject')
-rwxr-xr-x | tests/tests/debpolicy-newreject | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests/debpolicy-newreject b/tests/tests/debpolicy-newreject index bda8694..82762bb 100755 --- a/tests/tests/debpolicy-newreject +++ b/tests/tests/debpolicy-newreject @@ -45,7 +45,7 @@ t-git-dir-check enoent t-commit 'should require --deliberately...questionable' t-dgit build -t-expect-fail "tag debian/$vanished referred to this object.*all previously pushed versions were found to have been removed" \ +t-expect-fail E:"tag debian/${vanished//./\\.} referred to this object.*all previously pushed versions were found to have been removed" \ t-dgit push --new t-git-dir-check enoent |