Browse Source

move test/data back to test_data (to allow both rebar and make test find it)

Anton Lebedevich 12 years ago
parent
commit
f42f6fe6ab
6 changed files with 1 additions and 1 deletions
  1. 1 1
      test/pgsql_tests.erl
  2. 0 0
      test_data/epgsql.crt
  3. 0 0
      test_data/epgsql.key
  4. 0 0
      test_data/root.crt
  5. 0 0
      test_data/root.key
  6. 0 0
      test_data/test_schema.sql

+ 1 - 1
test/pgsql_tests.erl

@@ -66,7 +66,7 @@ connect_with_ssl_test(Module) ->
 
 connect_with_client_cert_test(Module) ->
     lists:foreach(fun application:start/1, ?ssl_apps),
-    Dir = filename:join(filename:dirname(code:which(pgsql_tests)), "data"),
+    Dir = filename:join(filename:dirname(code:which(pgsql_tests)), "../test_data"),
     File = fun(Name) -> filename:join(Dir, Name) end,
     {ok, Pem} = file:read_file(File("epgsql.crt")),
     [{'Certificate', Der, not_encrypted}] = public_key:pem_decode(Pem),

+ 0 - 0
test/data/epgsql.crt → test_data/epgsql.crt


+ 0 - 0
test/data/epgsql.key → test_data/epgsql.key


+ 0 - 0
test/data/root.crt → test_data/root.crt


+ 0 - 0
test/data/root.key → test_data/root.key


+ 0 - 0
test/data/test_schema.sql → test_data/test_schema.sql