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" $DATE > "$target"
_test "appclient" "appclient" -a "VFS" -n tcp:localhost:4242 _test "appclient" "appclient" -a "VFS" -n tcp:localhost:4242
_test "appmessage" "appmessage" _test "appmessage" "appmessage"
_test "appserver" "appserver" -a "Dummy" -n tcp:localhost:4242 APPINTERFACE_Dummy=../data/Dummy.interface \
export APPSERVER_Dummy="tcp:localhost:4242" _test "appserver" "appserver" -a "Dummy" -n tcp:localhost:4242
_test "appserver" "appserver" -a "Dummy" APPINTERFACE_Dummy=../data/Dummy.interface \
unset APPSERVER_Dummy APPSERVER_Dummy="tcp:localhost:4242" \
_test "appserver" "appserver" -a "Dummy"
_test "includes" "includes" _test "includes" "includes"
_test "lookup" "lookup VFS tcp" -a "VFS" -n "tcp:localhost:4242" _test "lookup" "lookup VFS tcp" -a "VFS" -n "tcp:localhost:4242"
_test "lookup" "lookup VFS tcp4" -a "VFS" -n "tcp4:localhost:4242" _test "lookup" "lookup VFS tcp4" -a "VFS" -n "tcp4:localhost:4242"
#XXX avoid the export/unset dance APPSERVER_Session="tcp:localhost:4242" _test "lookup" "lookup Session" \
export APPSERVER_Session="tcp:localhost:4242" -a "Session"
_test "lookup" "lookup Session" -a "Session"
unset APPSERVER_Session
_test "transport" "tcp4 127.0.0.1:4242" -p tcp4 127.0.0.1:4242 _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" "tcp4 localhost:4242" -p tcp4 localhost:4242
_test "transport" "tcp6 ::1.4242" -p tcp6 ::1.4242 _test "transport" "tcp6 ::1.4242" -p tcp6 ::1.4242