K2InformaticsGmbH / oranif

Oracle OCI driver using dirty NIF
Apache License 2.0
4 stars 2 forks source link

eunit fails #5

Closed c-bik closed 5 years ago

c-bik commented 6 years ago
$ uname -a
Linux 2.6.32-754.3.5.el6.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/centos-release
CentOS release 6.10 (Final)
======================== EUnit ========================
module 'erloci_test'
  erloci_test: db_negative_test_...*failed*
in function erloci_test:'-bad_password/1-fun-0-'/1 (/home/bikram/projects/erloci_nif/_build/test/lib/erloci/test/erl
oci_test.erl, line 60)
**error:{assertMatch,[{module,erloci_test},
              {line,60},
              {expression,"Res"},
              {pattern,"{ error , { 1017 , _ } }"},
              {value,{ok,#Ref<0.1336621617.1617559564.39140>}}]}
  output:<<"">>

  erloci_test: db_negative_test_...[0.014 s] ok
  erloci_test: db_test_...ok
  erloci_test: db_test_...ok
  erloci_test: db_test_...*failed*
in function erloci_test:'-select_bind/1-fun-2-'/1 (/home/bikram/projects/erloci_nif/_build/test/lib/erloci/test/erlo
ci_test.erl, line 135)
**error:{assertMatch,[{module,erloci_test},
              {line,135},
              {expression,"erloci_intf : ociStmtFetch ( Stmthp , 1 )"},
              {pattern,"{ ok , [ [ << \"X\" >> ] ] , _ }"},
              {value,{ok,[],true}}]}
  output:<<"">>

  erloci_test: db_test_...[0.008 s] ok
  erloci_test: db_test_...[0.011 s] ok
  erloci_test: db_test_...ok
  erloci_test: db_test_...[0.309 s] ok
  erloci_test: db_test_...[0.003 s] ok
  [done in 0.753 s]
=======================================================
  Failed: 2.  Skipped: 0.  Passed: 8.
c-bik commented 5 years ago

Outdated. Latest updates in master