Mercurial > hg > audiodb
diff tests/test-utils.sh @ 95:6066d75a6d39
Rename expect_server_failure() to expect_client_failure().
Not that it's that much of a better name but at least no longer implies
that we expect the server to fall over. What we expect is a server
error code, and maybe eventually a client detection of that with
friendly reporting to the user. Ha ha.
author | mas01cr |
---|---|
date | Wed, 03 Oct 2007 15:12:05 +0000 |
parents | 03564e8988a2 |
children | e6cdee24d6c3 |
line wrap: on
line diff
--- a/tests/test-utils.sh Wed Oct 03 14:13:05 2007 +0000 +++ b/tests/test-utils.sh Wed Oct 03 15:12:05 2007 +0000 @@ -67,7 +67,7 @@ grep ${AUDIODB} /proc/$1/cmdline > /dev/null } -expect_server_failure() { +expect_client_failure() { # FIXME: work out whether and how the client should report server # errors. At present, the client exits with a zero exit code. "$@"