Mercurial > hg > audiodb
comparison tests/test-utils.sh @ 94:03564e8988a2
Placeholder infrastructure for useful exit code detection from
SOAP client failure.
author | mas01cr |
---|---|
date | Wed, 03 Oct 2007 14:13:05 +0000 |
parents | e64a2e7f543c |
children | 6066d75a6d39 |
comparison
equal
deleted
inserted
replaced
93:89d34d50bf1b | 94:03564e8988a2 |
---|---|
64 } | 64 } |
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 | |
70 expect_server_failure() { | |
71 # FIXME: work out whether and how the client should report server | |
72 # errors. At present, the client exits with a zero exit code. | |
73 "$@" | |
74 } |