| # Simple example to show how names work both without and with a mount table |
| # and the difference between resolve and resolveMT. |
| set localaddr=--veyron.tcp.address=127.0.0.1:0 |
| set ws=--veyron.tcp.protocol=ws |
| echoServer -- $localaddr $ws $localaddr "text" "" |
| echoClient $esName "test" |
| assert $line "text: test" |
| echoServer -- $localaddr $ws $localaddr "text2" "a/b" |
| echoClient "a/b" "test 2" |
| assert $line "text2: test 2" |
| # resolve will return the server's address |
| assertOneOf $es_name $ep1 $ep2 |
| # resolveMT will return the mount table's address (the part before the //) |