Permalink
Browse files

Fix file_client example/test

  • Loading branch information...
1 parent fcf258b commit 65416d971f00c310735144a518f7a03675a30554 @rzezeski rzezeski committed with norton Oct 8, 2011
Showing with 4 additions and 6 deletions.
  1. +4 −6 test/unit/file_client.erl
View
@@ -8,14 +8,12 @@
-import(ubf_client, [rpc/2]).
defaultPort() -> 2000.
-fileNameToGet() -> "ubf.erl".
+fileNameToGet() -> "file_client.erl".
%% Prerequisites:
%%
-%% 1. The current working directory must be "..", because test() will
-%% try to access the file fileNameToGet(), which exists in our
-%% parent directory. (Or else create a symbolic link with that
-%% name that points to the file in "..".
+%% 1. The current working directory must be ".", because test() will
+%% try to access the file fileNameToGet().
%%
%% 2. If the UBF server is not listening on "localhost", then your OS
%% environment variable "WHERE" must be set to the hostname of the
@@ -30,7 +28,7 @@ fileNameToGet() -> "ubf.erl".
%%
%% erl -pz ../../ebin
%%
-%% > ubf_server:start([file_plugin], file_client:defaultPort(), []).
+%% > ubf_server:start(undefined, [file_plugin], file_client:defaultPort(), []).
%% > ok = file_client:test().
test() ->

0 comments on commit 65416d9

Please sign in to comment.