debian/masterdebian/stretch-backportsjessie-backports
Last change
on this file since 2dc2597 was
2dc2597,
checked in by Daniel Kahn Gillmor <dkg@…>, 7 years ago
|
ensure that we get some error messages
|
-
Property mode set to
100644
|
File size:
755 bytes
|
Rev | Line | |
---|
[2dc2597] | 1 | From: Daniel Kahn Gillmor <dkg@fifthhorseman.net> |
---|
| 2 | Date: Thu, 17 Sep 2015 05:39:56 -0400 |
---|
| 3 | Subject: let a failed diff be verbose |
---|
| 4 | |
---|
| 5 | there is no reason to pass -q to diff when comparing output: if diff |
---|
| 6 | succeeds, it will be quiet. If it fails, the test fails, and so we |
---|
| 7 | want it in our stderr! |
---|
| 8 | --- |
---|
| 9 | test/runtests | 2 +- |
---|
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
---|
| 11 | |
---|
| 12 | diff --git a/test/runtests b/test/runtests |
---|
| 13 | index bf172ec..1957168 100755 |
---|
| 14 | --- a/test/runtests |
---|
| 15 | +++ b/test/runtests |
---|
| 16 | @@ -207,7 +207,7 @@ for t in $tests; do |
---|
| 17 | unset sleep_pidfile |
---|
| 18 | |
---|
| 19 | if [ -e ${t}/output ] ; then |
---|
| 20 | - diff_output_filter_headers "${t}/output" "$output" "-q" |
---|
| 21 | + diff_output_filter_headers "${t}/output" "$output" >&2 |
---|
| 22 | fi |
---|
| 23 | if [ -n "${USE_MSVA}" ]; then |
---|
| 24 | trap stop_msva EXIT |
---|
Note: See
TracBrowser
for help on using the repository browser.