comparison 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
comparison
equal deleted inserted replaced
94:03564e8988a2 95:6066d75a6d39
65 65
66 check_server() { 66 check_server() {
67 grep ${AUDIODB} /proc/$1/cmdline > /dev/null 67 grep ${AUDIODB} /proc/$1/cmdline > /dev/null
68 } 68 }
69 69
70 expect_server_failure() { 70 expect_client_failure() {
71 # FIXME: work out whether and how the client should report server 71 # FIXME: work out whether and how the client should report server
72 # errors. At present, the client exits with a zero exit code. 72 # errors. At present, the client exits with a zero exit code.
73 "$@" 73 "$@"
74 } 74 }