Use the Dummy interface from the source tree

This commit is contained in:
Pierre Pronchery 2015-06-13 11:40:34 -04:00
parent accf8e02f0
commit 9332f7b8be

View File

@ -116,17 +116,16 @@ echo "Performing tests:" 1>&2
$DATE > "$target"
_test "appclient" "appclient" -a "VFS" -n tcp:localhost:4242
_test "appmessage" "appmessage"
_test "appserver" "appserver" -a "Dummy" -n tcp:localhost:4242
export APPSERVER_Dummy="tcp:localhost:4242"
_test "appserver" "appserver" -a "Dummy"
unset APPSERVER_Dummy
APPINTERFACE_Dummy=../data/Dummy.interface \
_test "appserver" "appserver" -a "Dummy" -n tcp:localhost:4242
APPINTERFACE_Dummy=../data/Dummy.interface \
APPSERVER_Dummy="tcp:localhost:4242" \
_test "appserver" "appserver" -a "Dummy"
_test "includes" "includes"
_test "lookup" "lookup VFS tcp" -a "VFS" -n "tcp:localhost:4242"
_test "lookup" "lookup VFS tcp4" -a "VFS" -n "tcp4:localhost:4242"
#XXX avoid the export/unset dance
export APPSERVER_Session="tcp:localhost:4242"
_test "lookup" "lookup Session" -a "Session"
unset APPSERVER_Session
APPSERVER_Session="tcp:localhost:4242" _test "lookup" "lookup Session" \
-a "Session"
_test "transport" "tcp4 127.0.0.1:4242" -p tcp4 127.0.0.1:4242
_test "transport" "tcp4 localhost:4242" -p tcp4 localhost:4242
_test "transport" "tcp6 ::1.4242" -p tcp6 ::1.4242