Mercurial > hg > audiodb
comparison tests/0015/run-test.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 |
comparison
equal
deleted
inserted
replaced
94:03564e8988a2 | 95:6066d75a6d39 |
---|---|
25 cmp test2 test3 | 25 cmp test2 test3 |
26 cmp test3 testoutput | 26 cmp test3 testoutput |
27 | 27 |
28 check_server $! | 28 check_server $! |
29 | 29 |
30 expect_server_failure ${AUDIODB} -c localhost:10015 -S -d /dev/null | 30 expect_client_failure ${AUDIODB} -c localhost:10015 -S -d /dev/null |
31 expect_server_failure ${AUDIODB} -c localhost:10015 -S -d /tmp/foo-does-not-exist | 31 expect_client_failure ${AUDIODB} -c localhost:10015 -S -d /tmp/foo-does-not-exist |
32 | 32 |
33 check_server $! | 33 check_server $! |
34 | 34 |
35 stop_server $! | 35 stop_server $! |
36 | 36 |